Ubuntu:user is not in the sudoers file.
2011-10-10 20:00
537 查看
问题:在Ubuntu下面,删除用户组之后出现:user is not in the sudoers file.
答案:
重启系统,在系统启动时按住shift,直到看到grub引导菜单,选择恢复模式(recovery mode),在恢复模式中我们选择root模式。然后我们就可以敲 visudo 啦,把你想加入的用户加到这个文件里。
【注意】
保存:^表示Ctrl,visudo打开后,下面不是有文字说明的,^X,这种样子的。
======================================================================
1、网络配置
"有线"-》“编辑”有线连接 ->802.1x安全性,其中用户名指域名(连接到互联网),不是指登录本机的名称。
![](http://blog.51cto.com/attachment/201201/184346946.png)
答案:
找遍了网上所有的解决办法,几乎所有的都是切换到root用户,但是ubuntu是没有root密码的。经过多次尝试,解决方法如下:
重启系统,在系统启动时按住shift,直到看到grub引导菜单,选择恢复模式(recovery mode),在恢复模式中我们选择root模式。然后我们就可以敲 visudo 啦,把你想加入的用户加到这个文件里。
admin ALL=(ALL) ALL
保存退出,然后重启系统即可。
【注意】保存:^表示Ctrl,visudo打开后,下面不是有文字说明的,^X,这种样子的。
======================================================================
1、网络配置
"有线"-》“编辑”有线连接 ->802.1x安全性,其中用户名指域名(连接到互联网),不是指登录本机的名称。
![](http://blog.51cto.com/attachment/201201/184346946.png)
相关文章推荐
- Ubuntu 中出现username is not in the sudoers file. This incident will be reported的错误
- Ubuntu_Usernameis not in the sudoers file解决方法
- user is not in the sudoers file. This incident will be reported 解决方法
- Ubuntu问题: is not in the sudoers file
- ubuntu 之is not in the sudoers file
- user_name is not in the sudoers file 的解决方法
- Ubuntu技巧之 is not in the sudoers file解决方法
- User is not in the sudoers file. This incident will be reported
- Ubuntu下is not in the sudoers file 问题解决
- UBuntu sudo 命令 :xxx is not in the sudoers file. This incident will be reported.
- Ubuntu技巧之 is not in the sudoers file解决方法
- Ubuntu技巧之 is not in the sudoers file解决方法
- linux权限管理之su与 sudo详解___username is not in the sudoers file
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- sparkuser is not in the sudoers file. This incident will be reported.
- ubuntu is not in the sudoers file
- ubuntu 将一般的用户加入sudo组 is not in the sudoers file
- Ubuntu技巧之 is not in the sudoers file解决方法
- Ubuntu下is not in the sudoers file 问题解决
- ubuntu 之is not in the sudoers file