Ubuntu下su:authentication failure的解决办法

2018-01-17 0 4,277 百度已收录

在使用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

这时候就可以进入根目录了。

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

栗子博客 电脑 Ubuntu下su:authentication failure的解决办法 https://www.lizi.tw/pc/4274.html

建筑工地上施工员,闲暇时弄个博客打发时间,

常见问题
  • 1、杰齐1.7仅适用于PHP5.2 2、需Zend支持 3、尽量使用宝塔面板 4、尽量使用Windows 系统,关关对Linux支持不太友好。
查看详情

相关文章

评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务

Ubuntu下su:authentication failure的解决办法-海报

分享本文封面