xxx is not in the sudoers file解决方法
2011-05-02 21:40
736 查看
用sudo时提示"xxx is not in the sudoers file. This incident will be reported.其中XXX是当前用户名,也就是当前用户没有权限使用sudo,只要修改一下/etc/sudoers文件就行了。修改方法:
1) su -
2)chmod u+w /etc/sudoers
3)vi /etc/sudoers, 找到这一 行:"root ALL=(ALL) ALL" 在起下面添加"xxx ALL=(ALL) ALL"(这里的xxx是用户名),保存退出。
4)chmod u-w /etc/sudoers
1) su -
2)chmod u+w /etc/sudoers
3)vi /etc/sudoers, 找到这一 行:"root ALL=(ALL) ALL" 在起下面添加"xxx ALL=(ALL) ALL"(这里的xxx是用户名),保存退出。
4)chmod u-w /etc/sudoers
相关文章推荐
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- xxx is not in the sudoers file解决方法
- CentOS 之 XXX is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法(完)
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- debian中xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- Zox's code life 人生就是不停的战斗! xxx is not in the sudoers file.This incident will be reported.的解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- [转]Linux之"xxx is not in the sudoers file"解决方法
- xxx is not in the sudoers file解决方法 SUDO
- xxx is not in the sudoers file解决方法
- Linux_服务器_03_xxx is not in the sudoers file.This incident will be reported.的解决方法
- xxx is not in the sudoers file. This incident will be reported的解决方法