...
Code Block | ||
---|---|---|
| ||
# Members of the staff group may gain root privileges %staff ALL=(ALL) ALL |
...
Granting Non-staff
...
User to use sudo with Certain Commands
In some cases you might want a non-staff user (Roderick can we do group too, it would be better) to certain commands. Usual scenarios are to restart services that require root such as Apache (that would be a better example here)
Code Block | ||
---|---|---|
| ||
sudo visudo |
...