The configuration method of sudo under CentOS

Recommended for you: Get network issues from WhatsUp Gold. Not end users.
CentOS by default, sudo is installed, but not before, in the configuration, only root users can use the. Therefore needs to be modified, the current user is added to the sudoers list.

List of user 1 sudo stored in the /etc/sudoers file. The file by default as read-only, cannot be modified.

2 Su, up to root users. Chmod o+w /etc/sudoers modify the file access permissions for root users add, write permission.

3 root ALL= (ALL) ALL this line. Replication of YY in command mode, P and then click Paste.

4 rows of root into that you want to use the sudo user username ALL=(ALL) ALL

Reduction of Chmod O-W 5 file permissions /etc/sudoers

6 start the test.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Nathaniel at December 19, 2013 - 6:45 AM