#user is not in the sudoers file . This incident will be reported
2015-03-02 13:54
609 查看
看提示 应该是 sudoers file文件里面缺少 #user用户
所以寻找sudoers 文件添加用户
打开文件
[root@localhost innjia]# chmod u+w /etc/sudoers
[root@localhost innjia]# vim /etc/sudoers
添加用户
1:切换到超级用户
[nnjia@localhost ~]$ su
Password:
2:添加文件写入权限
[root@localhost innjia]# chmod u+w /etc/sudoers
3:添加用户,保存
4:去掉写入权限
[root@localhost innjia]# chmod u-w /etc/sudoers
5:exit 退出超级用户,然后就OK了
相关文章推荐
- User is not in the sudoers file. This incident will be reported
- user is not in the sudoers file. This incident will be reported 解决方法
- user is not in the sudoers file.This incident will be reported
- sparkuser is not in the sudoers file. This incident will be reported.
- Username is not in the sudoers file. This incident will be reported
- Ubuntu 中出现username is not in the sudoers file. This incident will be reported的错误
- xxx is not in the sudoers file. This incident will be reported (解决办法)
- 问题:oracle is not in the sudoers file.This incident will be reported
- centos 修改xxx is not in the sudoers file. This incident will be reported
- User not in the sudoers file. This incident will be reported
- 用sudo时提示"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解决办法
- 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解决办法
- 【QA4】【sudoers问题解决】(*** is not in the sudoers file.This incident will be reported)
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- xxx is not in the sudoers file. This incident will be reported的解决方...
- xxx is not in the sudoers file. This incident will be reported的解决方法