USERNAME is not in the sudoers file. This incident will be reported
来源:互联网 发布:淘宝买iphone7靠谱商家 编辑:程序博客网 时间:2024/06/15 12:45
问题现象
[rems@linux6 ~]$ sudo pip install ansibleWe trust you have received the usual lecture from the local SystemAdministrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.[sudo] password for rems:rems is not in the sudoers file. This incident will be reported.
问题解决
原因在与该用户没有添加到visudo配置文件中
编辑visudo
[root@linux6 yum.repos.d]# visudo## Allow root to run any commands anywhereroot ALL=(ALL) ALLrems ALL=(ALL) ALL ---> 新添加内容
再次执行sudo命令,OK
阅读全文
0 0
- "username" 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的错误
- 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.
- 数据挖掘系列(2)--关联规则FpGrowth算法
- C语言程序设计教程(第三版)课后习题10.4
- 记录关于jqGrid在同一个jsp中实现查询记录显示及新增和修改操作
- 项目中多表关联查询,没有外键关联
- java正则表达式
- USERNAME is not in the sudoers file. This incident will be reported
- 干货!融云RCE产品上线,具体产品功能详解!
- 经典算法之冒泡指针
- hdu2046 骨牌铺方格(C语言)
- 使用lockbits方法处理图像
- 【bzoj1296】[SCOI2009]粉刷匠
- 单片机用AD测量电池电压的值
- 基于python Scrapy的爬虫——爬取某网站新闻内容
- hdu1278 漂亮面料的设计(模拟)