Hi, I'm new to Debian although I've been using Linux for a while. I just completed a fresh install of Debian 6.0.4 and started to configure my system the way I like it. I tried to give myself sudo privileges:
- I added "wheel ALL=(ALL) ALL" to the end of the sudoers file using visudo
- I then typed "addgroup wheel"
- then "adduser <username> wheel" (obviously substituting my own username for <username>)
I then logged out and back in again, and thought this would be enough to give myself sudo privileges, but I still get the message "<user> is not in the sudoers file. This incident will be reported".
If I add myself to the sudoers file manually it works fine, so I can get around this problem. But, why doesn't it work via the wheel method? It seems much easier to administer users of a system if I can just add them to wheel instead of adding them to the sudoers file manually.
Any help much appreciated.