11 启动的时候, 在启动界面, 相应启动项, 内核名称上按 e;
2 进入后, 找到 linux16 开头的地方, 按 end 键到最后, 输入 rd.break, 按 ctrl+x 进入;
- mount -o remount,rw /sysroot
- chroot /sysroot
5 passwd 修改密码
- touch /.autorelabel
- grep SELINUX /etc/selinux/config
- sed -i s#SELINUX=enforcing#SELINUX=disable# /etc/selinux/config
- exit;exit
来源: http://www.bubuko.com/infodetail-2533963.html