I have read this article:

https://help.ubuntu.com/9.04/serverguide/C/user-management.html

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?

Thanks

link|improve this question

possible duplicate of Users in ubuntu; Cant figure it out – ErikA May 27 '10 at 16:54
Did you get sudo set up as instructed in the above linked question? – ErikA 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. – ErikA May 27 '10 at 17:03
feedback

2 Answers

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.

link|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. – ErikA 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. – ErikA 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. – ErikA May 27 '10 at 17:12
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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