开机按e进入系统的紧急求援模式
依次输入一下命令:
mount -o remount,rw /sysroot
chroot /sysroot
echo "输入新密码" | passwd --stdin root
exit
reboot