安装完ubuntu后sudo时操作异常:su: Authentication failure
执行sudo passwd root设置root用户密码
如果不想使用sudo,你可以通过下面的命令锁住root用户密码
$ sudo usermod -p '!' root
如何直接使用root用户登录
1.System -> Administration -> Login window
2.Security tab, click on the check box “Allow local system administrator” as shown below. After this change, reboot the system and login directly using root account.
没有评论:
发表评论