Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have read this article:

But it doesn't go into depth with the privileges section.

I need to know how to set privileges of me (as a user).

I am the only user, but I want access to everything, but I don't want to manage my VPS logged in as root. So I am creating a username.

Anybody have a list of privileges, what they mean and how to set them?


share|improve this question
possible duplicate of Users in ubuntu; Cant figure it out – EEAA May 27 '10 at 16:54
Did you get sudo set up as instructed in the above linked question? – EEAA May 27 '10 at 16:56
Also...this question is probably more well-suited to be moved over to Superuser. I would flag it as such, but have already flagged it as a dupe. – EEAA May 27 '10 at 17:03
up vote 1 down vote accepted

Linux doesn't have a "list of privileges" per se. Permissons to do certain things are controlled using file user/group ownership and then by setting the read/write/execute flags appropriately. Get yourself set up with sudo as I suggested you do in this case, and you will be able to run all commands as root.

share|improve this answer
I have done what You said in the other Q. But, if I now create a user, will that user have all permissions by using sudo? Is this the way to do things really? – Anonymous12345 May 27 '10 at 17:06
If you're granting access in your sudo file using usernames, then you'll need to add each new user to that file. You can also grant sudo access by group, in which case the new user would just need to be added to the appropriate system group. – EEAA May 27 '10 at 17:08
So you mean it is the same thing to add users to the sudo file, as in adding the users to an appropriate group with appropriate permissions? – Anonymous12345 May 27 '10 at 17:09
Oh, and yes, this is the way to "do things", whatever that means. – EEAA May 27 '10 at 17:09
As long as that group has been granted permissions via sudo, then yes, the effective access will be the same as if you had granted access by username. – EEAA May 27 '10 at 17:12

Users do not have privileges; files have permissions and ownership. The only user that has special privileges is root, which is why system administration is done as that user after switching to it via su or sudo.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.