在使用online的服务器的时候。开始是centos 后来DD成Windows 2012 ,折腾一段时间后有弄centos +wine +关关+杰奇(环境用宝塔)
结果online的系统是centos 7.2 64位。无法降级到6.9 32位。所以又想折腾回Windows 2012 。在运行乌班图的时候。无法切换到root账户。每次都提示su: Authentication failure,后来百度找到以下方法。正确进入
$ su – root
Password:
su: Authentication failure
Sorry.
这时候输入
$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
这时候就可以进入根目录了。