Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create another root 1

Status
Not open for further replies.

aix43

Technical User
Apr 20, 2001
26
SA
Hi,
Can anybody help tell me how to create a user with root privilege ?

Thanks in advance
Gofur
 


go to /etc/passwd file and edit the users id and change it to 0 ( zero ), then the user can have all the priv of root.


Sendhil
 
Gofur

Sendhil is quite right - that is the way to create a user with root privileges.

But -- why would you want to do that?

If you would like to allow certain users to do some jobs that are restricted to the root user there are better ways than allowing someone access to everything.

Have you considered the SUDO package? Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
Hi All,
Thank for your quick help.

Michael,
Where can I get SUDO packege and how to install it?

Regards
Gofur
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top