Create extra root user account in
Linux
********************************
vi /etc/sudoers
testuser ALL=(ALL) NOPASSWD: ALL
*************
after this still we have to use sudo
like: (or jst do sudo -s)
#sudo <superuser
command>
*************
#usermod -o -u
0 -g 0 <user_name>
*************
#adduser -u 0
-o -g 0 -G 0,1,2,3,4,6,10 -M root2
*************
How to Enable the "root"
Account on CentOS or Mac OS X
#sudo passwd root
Enter Password: Changing password for
root
New password: Verify password:
No comments:
Post a Comment