Join the DZone community and get the full member experience.Join For Free
If you're adding/removing yourself from a group in Linux, you may find yourself in this situation when you try to run sudo:
$ sudo aptitude removeReported? To whom? To spite Big Brother, run these commands:
is not in the sudoers file. This incident will be reported.
$ su root $ usermod -a -G adminYou're now added to the admin group and have sudo rights again. References: Add User to Group
Opinions expressed by DZone contributors are their own.