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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Root Account Create

Status
Not open for further replies.

duster123

Technical User
Jun 21, 2006
168
GB
How to I create a accout with root permission in linux Fed4. ex. I want to Create user Joe Doe with all the same permissions as root.
 
Don't do it - there's no reason to. If some users need certain administrative capabilities, do some research on sudo
 
I need to add an account with rights to add users to a samba domain. They documentation say to create another root account
 
or better yet how can i add the root account in both password files to be able to make computer join my domain
 
As smah says, it's a bad idea.

But, if you really must:

[tt]useradd -u 0 -o -c "Joe Doe" -m joe_doe[/tt]

Annihilannic.
 
I concurr that making a second root account is extremely unadvisable, and probably retarded. Sudo is your FRIEND.

There is also the classic of manually editing the passwd file, cracker style.

_____________________________
when someone asks for your username and password, and much *clickely clickely* is happening in the background, know enough that you should be worried.
 
Another option is to use WebMin. It allows you to specify users who are allowed to do account administration as well as other "root" functions, without every granting them root privileges.

Plus they get a nice graphical interface for administration that can be reached from any browser within your network (or outside if you are really trusting).

Best of all, the user's name is logged associated with their actions (as with sudo), so unlike Windows, you can actually figure out which of your admins added that "special" account.


pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top