在Liunx Mint下无法切换到root用户

提示

su: Authentication failure
以ubuntu的mint root用户默认是也是禁止的

需要手动打开才行

a)root启用

执行下面的操作:
1.先解除root锁定,为root用户设置密码
yang@3537 ~/soft/wine-qqintl $ sudo passwd
Enter new UNIX password: 
Retype new UNIX password: 
passwd:password updated successfully

2、更改登陆,允许root登录
打开 系统>系统管理>登录窗口

点“安全”选项页,选择“允许本地管理员登录”。

3、注销当前用户,以root登陆

如果要再次禁用 root 帐号,那么可以执行 sudo passwd -l root。


转百度知道

猜你喜欢

转载自www.cnblogs.com/wangyangyy/p/9146335.html
今日推荐