is not in the sudoers file. This incident will be reported
来源:互联网 发布:怎么注册淘宝号 编辑:程序博客网 时间:2024/05/17 10:29
is not in the sudoers file. This incident will be reported的解决方法
zhichier is not in the sudoers file. This incident will be reported这是我在红旗linux6.0下用sudo时遇到的问题,解决方法如下:
1>、进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。(当然,你也可以直接用root用户登录,因为红旗安装过后默认的登录用户就是root)
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"。
至此,问题解决
- 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 (解决办法)
- 解决is not in the sudoers file. This incident will be reported
- xxx is 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.
- is not in the sudoers file. This incident will be reported
- sodu时提示:XXX is not in the sudoers file. This incident will be reported
- xxx is not in the sudoers file. This incident will be reported的错误解决方案
- 使用用sudo时提示"### is not in the sudoers file. This incident will be reported.
- 某某 is not in the sudoers file. This incident will be reported.”
- user is not in the sudoers file. This incident will be reported 解决方法
- 使用用sudo时提示"### is not in the sudoers file. This incident will be reported.
- is not in the sudoers file. This incident will be reported
- is not in the sudoers file. This incident will be reported.
- sudo提示“is not in the sudoers file. This incident will be reported”解决方法
- centos 修改xxx is not in the sudoers file. This incident will be reported
- linux *** is not in the sudoers file. This incident will be reported.
- NSData 与常见类型的转换
- js 实现 table 伪分页
- TabActivity之间跳转、传值
- Java 反斜杠如何转义的问题
- IEEE数据库
- is not in the sudoers file. This incident will be reported
- 如何学习java
- C# 网络编程系列 P2P编程
- Oracle11gR2 Aactive DataGuard(手动)安装部署及维护文档(二)之快照及管理
- [Unity3d] 之MonoBehaviour的可重写函数整理
- listView中多个listItem布局时,convertView缓存及使用
- doc里面的命令ipconfig /flushdns的用法
- WTL体系结构
- 家乡的小河