Linux学习笔记 --- xxx is not in the sudoers file
2017-07-11 09:45
465 查看
在Centos下没使用root用户的时候,操作root用户权限可操作的文件的时候。需要使用sudo命令,
但是当你使用的时候sudo mv, cp等命令的时候会报错,出现以下提示信息:
解决方案是切换到root用户,输入
visudo
找到root ALL=(ALL) ALL,在下面添加一行
xxx ALL=(ALL) ALL 其中xxx是你要加入的用户名称
保存退出,下次再使用sudo的时候就可以了。
但是当你使用的时候sudo mv, cp等命令的时候会报错,出现以下提示信息:
解决方案是切换到root用户,输入
visudo
找到root ALL=(ALL) ALL,在下面添加一行
xxx ALL=(ALL) ALL 其中xxx是你要加入的用户名称
保存退出,下次再使用sudo的时候就可以了。
相关文章推荐
- 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解决方法
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- xxx is not in the sudoers file解决方法 SUDO
- debian中xxx is not in the sudoers file解决方法
- 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解决方法
- debian中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解决方法
- sodu时提示:XXX is not in the sudoers file. This incident will be reported
- The Solution to "xxx is not in the sudoers file"
- Fedora提示 xxxis not in the sudoers file.this incident will be reported解决办法
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法