通过xshell连接centos6.5虚拟机,默认的账号是vagrant。但我想切换到root账号,提示密码错误,但我一直不知道密码是多少啊,如下图所示:
希望能得到大家的解答,谢谢!
认证高级PHP讲师
Search for "centos forgot root password"http://blog.csdn.net/linruonan90/article/details/26883699
Restart the system and enter the system in single-user mode to change the root password. You can first try to see if you can switch to root through the command sudo su. If you can, you do not need a single-user
If your current user can sudo, reset the password like sudo passwd root
You can use single-user mode to change the administrator password
Search for "centos forgot root password"
http://blog.csdn.net/linruonan90/article/details/26883699
Restart the system and enter the system in single-user mode to change the root password. You can first try to see if you can switch to root through the command sudo su. If you can, you do not need a single-user
If your current user can sudo, reset the password like sudo passwd root
You can use single-user mode to change the administrator password