Subscribe:

Ads 468x60px

Pages

Wednesday, May 25, 2011

Allow a user to "sudo" to root


Steps require to implement the sudo user:

1) Run the /usr/sbin/visudo command. 
# /usr/sbin/visudo

2) Add the username like this: james ALL=(root) ALL 
# james ALL=(root) ALL

3) Save the file and exit from root. Now user “james” should be able to login.

0 comments:

Post a Comment