LINUX root忘记密码了怎么办!~
**root密码精简版:
1、重启虚拟机 (按e进入第一个)
2、在linux16末尾加上 rd.break,ctrl+x执行
3、mount -o remount,rw /sysroot
4、chroot /sysroot
5、passwd root
6、输入新密码:
7、确认密码
8、touch /.autorelabel
9、exit
10、exit
修改好用户密码,此时可以用刚刚输入的密码(111111)登入ROOT啦