Possible Duplicate:
Add user to “sudo” group
I do not have root privileges - how then do I add a user to the sudoers list?
Possible Duplicate:
Add user to “sudo” group
I do not have root privileges - how then do I add a user to the sudoers list?
Allowing to modify the list of users allowed to perform super-admin tasks without requiring super-admin privileges would totally undermine the whole idea of using sudo
- if anyone can add themselves to sudoers
than anyone can become root
. So there's no way to do what you want from inside the system.
Having said that, if you have physical access to the system, you can reboot into the recovery console or boot from a LiveCD, where you can get root access to the sudoers
file.