标签:linux
1、重启物理机实机。
2、启动界面按“E”
3、“linux16”行 ro处改为“rw init=/sysroot/bin/sh ”
4、ctrl+X保存重启
5、chroot /sysroot/
6、passwd root修改密码
7、touch /.autorelabel
8、exec /sbin/reboot
linux centos7单用户重置root密码方法
原文地址:http://11934539.blog.51cto.com/11924539/1981165