Posted on 2002-03-04
Last Modified: 2010-03-18
I want to create a user who is equal to administrator.How to create.
Question by:SJECCP

Accepted Solution

jajej earned 50 total points
ID: 6840741

You may want to consider using SUDO found at

This is what we use!  Allows you to specify what the individual people can and can't run instead of giving blanket adminstrator rights.  Sudo does copious logging of each command, providing a clear audit trail of who did what and when.

Sudo is a program designed to allow a sysadmin to give limited root privileges to users and log root activity.  The basic philosophy is to give as few privileges as possible but still allow people to get their work done.

Hope this helps!

Expert Comment

ID: 6840835

What you could also do is set the user to group 0 which would effectively do what you want.  But giving someone blanket root privileges seems scary to me especially if someone sniffs the password when you're telneting or poping your box!

Expert Comment

ID: 6841609
Create an user and set its UID and GID to 0. Give him only another name (I use 'avatar') and home directory (/home/avatar). This will be another 'root' account (even whoami will tell you "root") with another home directory and another password (its useful if a machine has two administrators). But when only a few administrative task need to be performed by other person than root, then better use SUDO.

Jajer's right: better DO NOT telnet, or POP to this acount. Beseides, on a decent system telnet should be disabled, POP should run on SSL and any root (or avatar in this case) mail should be directed to ordinary user account. On a well configured system additional root accound shuld not create any seccurity holes.

LVL 51

Expert Comment

ID: 6842557
> .. is set the user to group 0 which would effectively do what you want.


> Create an user and set its UID and GID to 0. Give him only another name.

This might work in most situations, but well done (in terms of security) programs still fail. Some others might behave strange 'cause they get confused about not finding $USER at UID 0.

SJECCP, depending on your policies you either go with sudo, or create users with primary group 0. Keep in mind that sudo needs to be configured, and GID 0 will not allow to run anything you imagine.
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!


Expert Comment

ID: 6843494
ahoffmann - How is that any different from what I already said?  I first said SUDO then offered Group to 0?  How is your post any different?
LVL 51

Expert Comment

ID: 6844659
> How is that any different from what I already said?
according sudo: nothing
according GID 0: my experiance tells me that it will not work (see my comment)

Expert Comment

ID: 6853854

Question(s) below appears to have been abandoned. Your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question. Again, please comment to advise the other participants why you wish to do this.

For special handling needs, please post a zero point question in the link below and include the question QID/link(s) that it regards.
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process.

Please click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, to track all your open and locked questions at this site.  If you are an EE Pro user, use the Power Search option to find them.

To view your open questions, please click the following link(s) and keep them all current with updates.

To view your locked questions, please click the following link(s) and evaluate the proposed answer.

------------>  EXPERTS:  Please leave any comments regarding your closing recommendations if this item remains inactive another seven (7) days.  Also, if you are interested in the cleanup effort, please click this link
Thank you everyone.
Moderator @ Experts Exchange

P.S.  For any year 2000 questions, special attention is needed to ensure the first correct response is awarded, since they are not in the comment date order, but rather in Member ID order.

Expert Comment

ID: 6930056
Admin notified of User neglect. Force-accepted by
CS Moderator

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I search low cost dedicated server provider 4 29
LDAP setup? 9 83
I am not sure how to read what this IP tables statement means 2 103
Squid Authentication 7 61
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now