linux强制破密码
破解LINUX密码
开机按“e”键
找到Linux16行
在末尾添加 rd.break console=tty0
按“ctrl + x”进入救援模式
mount -o remonut,rw /sysroot 以读写权限重新挂载根目录
chroot /sysroot 进入根目录
passwd 修改linux密码
touch /.autorelabel 标记下一次启动重做SElinux标签
exit
reboot
破解LINUX密码
开机按“e”键
找到Linux16行
在末尾添加 rd.break console=tty0
按“ctrl + x”进入救援模式
mount -o remonut,rw /sysroot 以读写权限重新挂载根目录
chroot /sysroot 进入根目录
passwd 修改linux密码
touch /.autorelabel 标记下一次启动重做SElinux标签
exit
reboot