Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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've looked at Add user to "sudo" group and added user (say 'abc') to sudo group

But now when user 'abc' tries to use sudo commands ubuntu says, 'abc' is not in sudoers list, this incident will be reported.

BTW I'm using ubuntu server 11.04 if it matters.


share|improve this question
Better and more detail can be found here: – Mark Russell Sep 26 '11 at 0:36
Thanks I was looking something for existing user, but I'll keep this one handy in case need to add more users. – wisemonkey Sep 26 '11 at 1:05
up vote 3 down vote accepted

The group you want to add the user to is admin.

share|improve this answer
yup got it working Thanks. though I need to read what is difference between group sudo and admin, I'll do it later. – wisemonkey Sep 26 '11 at 1:03
@wisemonkey: see… – enzotib Sep 26 '11 at 7:25

You shouldn't consider these things "sudo commands". Sudo is a command that enables users to run certain commands as root. Users in the "admin" group can run any command as root. But sudo can also be used to enable a user to shutdown the system, but nothing else, for instance. Remember that root can do anything in the system, which means that any user in the "admin" group can also do anything, including reading other users files or removing another user from the "admin" group.

You can read the full documentation for it here:

share|improve this answer
Thanks for explanation, I understand sudo itself is command allowing other commands rights to access system data. However while asking question, I couldn't think of proper terminology to use. – wisemonkey Sep 26 '11 at 18:22
Yes, but the point was that if you add a user to the admin group, then you give access to everything, but with sudo, you don't have to grant access to everything. – Jo-Erlend Schinstad Sep 27 '11 at 0:20
Yes I understand it now :) That was exactly my problem, when I added user to sudo, he could shutdown/reboot but couldn't modify system files (which was the purpose). I used to consider 'sudo' and 'admin' as same. – wisemonkey Sep 28 '11 at 23:47

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.