5

I wanted to give user sudo privileges. I added user to the admin group: usermod -a -G admin user

Then I used visudo to check if admin users had been set to receive sudo privileges. I uncommented the line admin ALL=(ALL) ALL.

It didn't work.

sudoers file:

Defaults        env_reset  
root    ALL=(ALL:ALL) ALL  
admin   ALL=(ALL) ALL  
%sudo   ALL=(ALL:ALL) ALL
0

1 Answer 1

2

Can you post the relevant sections of your sudoers file?

Re-posted from the comment below:

[edit]admin should be %admin - Percent signs are used for groups, you could have also just added the user to be in the sudo group [/edit]

One quick thing to try is to run grpconv from a root terminal, be it by

su -c'grpconv'

from a non-root terminal

or actually loggin in as root and entering

grpconv

1
  • 2
    admin should be %admin - Percent signs are used for groups, you could have also just added the user to be in the sudo group
    – user61724
    Jun 22, 2011 at 19:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .