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

  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