破解root

启动grub按E,进入编辑,ro 改为 rw init=/sysroot/bin/sh然后Ctrl+X进入单用户
# chroot /sysroot
# passwd root
# touch /.autorelabel
# exit
# reboot

posted on 2017-07-13 14:18  JasonKwok  阅读(126)  评论(0)    收藏  举报

导航