User not in the sudoers file. This incident will be reported
来源:互联网 发布:ps软件破解版 编辑:程序博客网 时间:2024/06/05 01:09
在Ubuntu 中使用sudo 时,会发现提示 User not in the sudoers file. This incident will be reported
2.然后执行下面的命令
这样的错误,你可以修改/etc/sudoers下面的这个文件,把当前用户添加到里面,这是一种修改 办法。
还有一个办法是使用下面的命令:
id user_name
查看以下当前用户所属组有哪些,看下其中是否有adm或者sudo 这两个组,若没有属于这两个组请使用下面的命令添加当前用户到这两个组:
1,先切换到root帐号下
su -
2.然后执行下面的命令
usermod -G adm,cdrom,sudo,dip,plugdev,lpadmin,sambashare user_name
3,然后重新启动一下系统。
打开terminal进,就重新使用sudo 这个命令时就不会出现这样的错误了。
- user is not in the sudoers file. This incident will be reported 解决方法
- User not in the sudoers file. This incident will be reported
- #user is not in the sudoers file . This incident will be reported
- Fix the problem:xxx is not in the sudoers file.This incident will be reported
- xxx is not in the sudoers file. This incident will be reported (解决办法)
- 解决is not in the sudoers file. This incident will be reported
- xxx is not in the sudoers file. This incident will be reported的解决方法
- *** is not in the sudoers file.This incident will be reported
- XXX is not in the sudoers file. This incident will be reported.
- is not in the sudoers file. This incident will be reported
- Fedora提示 xxxis not in the sudoers file.this incident will be reported解决办法
- sodu时提示:XXX is not in the sudoers file. This incident will be reported
- xxx is not in the sudoers file. This incident will be reported的错误解决方案
- Fedora提示 xxxis not in the sudoers file.this incident will be reported解决办法
- 使用用sudo时提示"### is not in the sudoers file. This incident will be reported.
- 某某 is not in the sudoers file. This incident will be reported.”
- 使用用sudo时提示"### is not in the sudoers file. This incident will be reported.
- is not in the sudoers file. This incident will be reported
- Flex 为Label设置用户光标useHandCursor
- oracle中的sys和system用户的差别
- CTR
- VS2008使用Access数据库,不能更新数据库中数据的原因
- Visual Stdio 2008 的卸载
- User not in the sudoers file. This incident will be reported
- IE中缓存中的图片数据清除问题
- C++头文件的包含顺序研究
- poj3450 Corporate Identity
- mysql
- ruby开启
- NetBeans学习笔记2
- c/c++中出现“undefined reference to”的解决
- 简单折叠面板的制作(来源于CSS技术彻底研究)