Results 1 to 8 of 8
-
06-06-2005, 01:08 PM #1Registered User
- Join Date
- Sep 2004
- Posts
- 245
How can i add another root ( user with full root access) ?
Hi folks,
i want to know what is the command can i use it to add another user to my LINUX system with full root access ?
also can i add this user without showing his home in /home dir. i mean a hidden user ...
thnx in advance
-
06-06-2005, 01:17 PM #2Web Hosting Master
- Join Date
- Nov 2004
- Location
- India
- Posts
- 1,104
The easy way to do this is by editing the password file and changing the user, group entries to '0' . For example if you like to give root access to user 'learnerman', just edit the file
vi /etc/passwd
and change it to :
suburban:x:0:0::/home/learnerman:/bin/bash
AssistanZ - Beyond Boundaries...
Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development
-
06-06-2005, 01:26 PM #3Web Hosting Master
- Join Date
- May 2001
- Location
- @ Work - Usually!
- Posts
- 835
When you create the user you can specify the directory to be somewhere other than /home
-
06-06-2005, 01:53 PM #4Web Hosting Master
- Join Date
- Nov 2004
- Location
- India
- Posts
- 1,104
Ahh..small correction it should be :
learnerman:x:0:0::/home/learnerman:/bin/bashAssistanZ - Beyond Boundaries...
Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development
-
06-06-2005, 02:29 PM #5Web Hosting Master
- Join Date
- Apr 2004
- Location
- SF Bay Area
- Posts
- 879
Re: How can i add another root ( user with full root access) ?
Originally posted by learnerman
Hi folks,
i want to know what is the command can i use it to add another user to my LINUX system with full root access ?
My suggestion is to use sudo.
-
06-06-2005, 05:27 PM #6Junior Guru Wannabe
- Join Date
- May 2005
- Posts
- 67
Re: Re: How can i add another root ( user with full root access) ?
Originally posted by boethius
Why?
My suggestion is to use sudo.Game control panels - control your game world your way. Server-Genie.com
http://www.server-genie.com
-
06-06-2005, 05:45 PM #7Newbie
- Join Date
- Apr 2005
- Posts
- 8
you can also do it in WHM in the resellers "feature list" put "all features" which will give that account root access.
-
06-06-2005, 06:42 PM #8Web Hosting Evangelist
- Join Date
- Oct 2004
- Location
- India
- Posts
- 509
User sudo as another user in the root's group can caused damage if you fail to remember that you didnt log in as a general user. You may accidentally delete files that were not supposed to be done.
ESC :wq!