使用 VMware 虚拟机安装 CentOS 7,登录时输入密码出现抱歉,没有奏效,亲再试一次。
解决办法:
(1)Ctrl + Alt + F2 或者其他 Fn,进入匿名终端
(2)用 root 账号登录
(3)登录成功后,输入 #$sudo passwd root,会弹出:
changing password for user root.
New password:这里输入新密码
Retype new password:再次输入新密码
passwd:all authenticion tokens updated successfully.
(4)更新了密码后,输入命令 #startx,进入桌面。