1.重启虚拟机
2.在Linux16末尾加上 rd.break,ctrl+x执行
3.依次输入以下指令
mount -o remount,rw /sysroot
chroot/sysroot
passwd
4.输入新密码
5.确认密码
6.输入指令 touch /.suthorelabel
7.输入指令 exit
8.完成重新登陆
1.重启虚拟机
2.在Linux16末尾加上 rd.break,ctrl+x执行
3.依次输入以下指令
mount -o remount,rw /sysroot
chroot/sysroot
passwd
4.输入新密码
5.确认密码
6.输入指令 touch /.suthorelabel
7.输入指令 exit
8.完成重新登陆