UBuntu中出现xxx is not in the sudoers file解决方法
2012-04-24 18:07
776 查看
1)首先使用一个可以sudo的用户打开命令行
2)在/etc/sudoers.d目录下创建一个sudo_user_list文件
sudo vi /etc/sudoers.d/sudo_user_list
3)在上面的按个文件中加入下面这一行,保存并退出
xxx ALL=(ALL) ALL
4)使用下面这一行改变文件访问权限
sudo chmod 0440 /etc/sudoers.d/sudo_user_list
到这儿就可以试试能不能切换到root用户了:-)
2)在/etc/sudoers.d目录下创建一个sudo_user_list文件
sudo vi /etc/sudoers.d/sudo_user_list
3)在上面的按个文件中加入下面这一行,保存并退出
xxx ALL=(ALL) ALL
4)使用下面这一行改变文件访问权限
sudo chmod 0440 /etc/sudoers.d/sudo_user_list
到这儿就可以试试能不能切换到root用户了:-)
相关文章推荐
- Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- Linux遇到的问题(一)Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- Ubuntu——"xxx is not in the sudoers file.This incident will be reported" 错误解决方法
- Ubuntu技巧之 is not in the sudoers file解决方法
- 普通用户开通sudo权限: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.This incident will be reported.的解决方法
- Ubuntu之 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解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- Ubuntu技巧之 is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法
- ubuntu系统提示“is not in the sudoers file”解决方法
- xxx is not in the sudoers file解决方法