Install the sudo package
# yum install sudo
Edit the sudo file by removing the # from the # %wheel ALL=(ALL) ALL to uncomment it.
# visudo
Save the changes and quit.
:wq
gpasswd -a username wheel
Change to sudo su.
sudo su -
Confirm that you can login with your username, then disable the root login.
passwd -l root
Tuesday, July 5, 2011
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment