MayfieldGlobal

Everything from operating systems, programming to web development and more.

Jan
13

I receive the message: “<username> is not in the sudoers file. This incident will be reported.”. How do I enable sudo?

Posted under Linux, Shell

The sudo command allows users to perform tasks as another user - most commonly, the root user. Using sudo instead of su - has significant advantages. Most notably is that all operations performed with sudo are logged to: /var/log/secure.

To use the sudo command, the user (in this article, the user is ned) must be added to the: /etc/sudoers configuration file.
Read the rest of this entry »