backtrack5 普通用户不能sudo的解决方法
2013-02-14 14:51
232 查看
XXX is not in the sudoer file(普通用户不能使用sudo权限)
问题:XXX is not in the sudoer file.This incident will be reported.解决方法:
1、su root (su -l) 输入root用户密码
2、chmod u+w /etc/sudoers
3、vim /etc/sudoers
修改地方:在 ROOT ALL=(ALL)ALL 下加一行:XXX ALL=(ALL) ALL
保存并退出:按ESC :wq
4、chmod u-w /etc/sudoers
su xxx
此时xxx用户使用sudo就不会再出现以上问题了!
如果想给所有的用户使用sudo权限,则: ALL ALL=NOPASSWD: ALL
本文出自 “东哥-怎么做” 博客,请务必保留此出处http://dong4716138.blog.51cto.com/5136637/1133720
相关文章推荐
- Linux Redhat 一般用户不能执行sudo有关问题的解决方法
- linux 下普通用户无法使用sudo命令的解决方法
- linux 下普通用户无法使用sudo命令的解决方法
- ubuntu中使用tab键来补齐输入命令普通用户可用切换root后不能的解决方法
- gentoo linux 普通用户不能使用alsa声卡的解决方法
- 普通用户不在sudoers文件中的解决方法
- 普通用户开通sudo权限:xxx is not in the sudoers file.This incident will be reported.的解决方法
- linux 下普通用户无法使用sudo命令的解决方法
- 普通用户开通sudo权限:xxx is not in the sudoers file.This incident will be reported.的解决方法
- Linux下解决用户不能执行sudo的方法
- 因修改/etc/sudoers权限导致sudo和su不能使用的解决方法
- Backtrack5 R3 下安装chrome 不能以root权限运行解决方法
- 用户不在sudoers文件中的解决方法
- 普通用户下变成-bash-3.2$的解决方法
- 普通域用户登录Windows7提示已使用临时配置文件登录的解决方法
- 解决sudo不能用的方法
- 关于openfire的用户不能正常登陆的解决方法
- Linux添加普通用户并添加sudo权限、修改文件所属者、解决(ubuntu)只有$问题
- 关于Windows_8.1/Windows 7下普通用户运行软件提示需要输入管理员密码解决方法
- OpenSSH普通用户无法登录的几种情况的解决方法