1 开机,按“e”进入编辑。

2 linux16 这行末尾,添加rd.break
。

3 按 Ctrl + X 启动系统,按如下步骤破解root密码即可。
mount -o remount,rw /sysroot
chroot /sysroot
passwd
touch /.autorelabel
exit
reboot

rd.break
。mount -o remount,rw /sysroot
chroot /sysroot
passwd
touch /.autorelabel
exit
reboot
本文标题:CentOS 7.6 破解root密码
本文链接:https://www.haomeiwen.com/subject/ergvmhtx.html
网友评论