4

I've looked at How do I add a user to the "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.

Thanks

wisemonkey
  • 3,483

2 Answers2

3

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

Mark Russell
  • 7,396
2

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: http://manpages.ubuntu.com/manpages/oneiric/en/man5/sudoers.5.html