1

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?

  • 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
2

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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