Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On Fedora15, following this wiki, I added a user to wheel group, which is already in the sudoer config file.

but still I get not-a-sudoer error prompt. Should I specifically name every member of a group in sudoer file to be able to sudo with that user?

share|improve this question
4  
Check if there is line about wheel group in sudo config file and if it is not commented. Also after modification of groups you need to logout and log in again... –  pbm Dec 1 '12 at 20:42
    
yeap, the logout thing was the problem! Thanks @pbm –  saeed Dec 2 '12 at 5:22

1 Answer 1

Make sure you don't have a comment in your /etc/sudoers file infront of the wheel group.

Often you will see this :

  ## Allows people in group wheel to run all commands
  #%wheel   ALL=(ALL)   ALL

Uncomment the %wheel so it looks like this :

  ## Allows people in group wheel to run all commands
  %wheel    ALL=(ALL)   ALL
share|improve this answer

Your Answer

 
discard

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.