開機按e進入系統的緊急求援模式
依次輸入一下命令:
mount -o remount,rw /sysroot
chroot /sysroot
echo "輸入新密碼" | passwd --stdin root
exit
reboot