You can probably do that with group memberships. Check the /etc/sudoers file to see which group and use sudo. On most systems, being a member of the "wheel" group will allow you to use sudo. I think on Ubuntu, the "admin" or "administrator" group is used instead.
Use the "visudo" program to edit the sudoers file if it is necessary to edit the file. The visudo program will check for locks to prevent corrupting sudoers. It will also perform sanity checks.
|