sodu时提示:XXX is not in the sudoers file. This incident will be reported
来源:互联网 发布:微信免签约接口源码 编辑:程序博客网 时间:2024/04/29 20:13
解决方法如下:
1>、进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。
2>、添加文件的写权限。也就是输入命令"chmod u+w /etc/sudoers"。
3>、编辑/etc/sudoers文件。也就是输入命令"vim /etc/sudoers",输入"i"进入编辑模式,找到这一行:"root ALL=(ALL) ALL"在起下面添加"xxx ALL=(ALL) ALL"(这里的xxx是你的用户名),然后保存(就是先摁一下Esc键,然后输入":wq")退出。
4>、撤销文件的写权限。也就是输入命令"chmod u-w /etc/sudoers"。
至此,问题解决。
- sodu时提示:XXX is not in the sudoers file. This incident will be reported
- 使用用sudo时提示"### is not in the sudoers file. This incident will be reported.
- 使用用sudo时提示"### 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 (解决办法)
- 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的错误解决方案
- centos 修改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.
- 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的解决方法
- 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.的解决方法
- xxx is not in the sudoers file. This incident will be reported.
- tomcat移植到weblogic上面乱码中文问题解决的方法
- MiniGUI 封闭曲线填充
- 扫描版PDF转文本的方法
- s1e3
- How to Create a Development Package ?
- sodu时提示:XXX is not in the sudoers file. This incident will be reported
- as3 关于加载透明图片
- 如何让采用递归的函数在自己想要的地方“停止”?
- 一名护士告诉你:临终病人最后悔的5件事
- SharePoint 几个重要且好玩的JS函数 一
- linux下eclipse的安装
- 如何写一份好的工程师简历
- 将selectList中的每组option组合成string放入values隐藏域中
- 最新版本SmallLanguage的语法