Tuesday, September 21, 2010

Adding yourself to sudo on Red Hat

First, you need to change to be root:

> su
Password:

Second, edit the sudoers file with visudo:

> /usr/sbin/viduso

Then add the following line (substituting your user name for matthew):

    matthew    ALL=(ALL) ALL

Finally, log out and back in again.

No comments:

Post a Comment