1. type sudo adduser <username> sudo where username is the name of the user you want to add in the sudoers list
  2. For checking if your required user is added succesfully type getent group sudo which will show the list of sudo users

上面的报告说明, postgres这个用户没在 sudoers 的列表中, 所以这个“事件”会被报告。

转载于:https://www.cnblogs.com/oxspirt/p/7230836.html

Username is not in the sudoers file. This incident will be reported相关推荐

  1. How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu

    How to Fix "Username is not in the sudoers file. This incident will be reported" in Ubuntu ...

  2. ubuntu下执行sudo命令提示:xx is not in the sudoers file. This incident will be reported.

    在执行sudo命令时会有如下提示: xx is not in the sudoers file. This incident will be reported. 原因分析:一般这种情况是修改了用户名, ...

  3. sudo 执行报错centos is not in the sudoers file. This incident will be reported.

    执行sudo -i,提示如下信息 [centos@localhost ~]$ sudo -i [sudo] password for centos:  centos is not in the sud ...

  4. Linux中新建用户用不了sudo命令问题:rootr is not in the sudoers file.This incident will be reported解决

    Linux中新建用户用不了sudo命令问题:rootr is not in the sudoers file.This incident will be reported解决 参考:https://b ...

  5. xxx is not in the sudoers file.This incident will be reported.的解决方法

    xxx is not in the sudoers file.This incident will be reported.的解决方法 参考文章: (1)xxx is not in the sudoe ...

  6. [已解决]user 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. 今天在学习的时候,不小心把自己的用户su ...

  7. Centos普通用户权限报错:** is not in the sudoers file. This incident will be reported.

    在centos下有一个普通用户hadoop,在用hadoop创建文件夹: [hadoop@localhost /] sudo mkdir /soft [sudo] password for hadoo ...

  8. 解决xx is not in the sudoers file. This incident will be reported.问题

    问题.  xxx is not in the sudoers file. This incident will be reported.(当想要以 xxx的身份切换到root权限时,使用sudo su ...

  9. Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法

    Ubuntu下普通用户用sudo执行命令时报"xxx is not in the sudoers file.This incident will be reported"错误,解决 ...

  10. xxx is not in the sudoers file. This incident will be reported

    问题描述: 新建用户执行命令sudo chmod 700 ,提示输入root命令. 输入三次错误. 提示 yourid is not in the sudoers file. This inciden ...

最新文章

  1. httpmodule权限应用
  2. 第一次接触 SharpHsql(纯C#开源数据库引擎)
  3. linux如何关闭 lvm管理,Linux之LVM管理
  4. 深度学习基础(四)优化函数(梯度下降函数)
  5. BugkuCTF-Crypto题rsa
  6. 抓取网页代码php,PHP抓取网页代码示例
  7. 利用WinSock进行无连接的通信
  8. Kubernetes学习之路(26)之kubeasz+ansible部署集群
  9. Java中子类对象赋值给父类变量
  10. Atitit  验证 数字验证 非空验证的最佳算法  h5
  11. mysql权限管理命令小结
  12. 使用jTopo给Html5 Canva中绘制的元素添加鼠标事件_html5教程技巧
  13. 上架商品的html页面,上架页面.html
  14. ribbon整合eureka时报错Request URI does not contain a valid hostname: xxxx
  15. 开口式霍尔电流传感器AHKC在直流配电改造的应用
  16. 关于长高问题 我的看法
  17. 央视名嘴转播欧洲冠军杯
  18. influxdb连续查询
  19. PL/SQL测试存在CLOB类型入参的存储过程时,入参为NULL
  20. 软交换总结之五-GPRS相关:PCU与RPP的经典之作

热门文章

  1. 计算机组成原理_计算机组成原理amp;认识Python
  2. vue第一天 认识vue与vue基本使用
  3. python列表姓氏,Python程序可以打印完整姓氏的名字的缩写吗?
  4. Hive排名函数入门
  5. 用户奖励体系有哪些反作弊的机制?
  6. DVWA系列之10 命令执行漏洞的挖掘与防御
  7. CSS规则重要性以及继承、层叠
  8. 黑科技:Wi-Fi热点智能垃圾桶现身纽约
  9. POM (Project Object Model)简介
  10. HDU 4380 Farmer Greedy(叉积和三角形知识的综合应用)