[PLUG] /etc/sudoers Syntax

Rich Shepard rshepard at appl-ecosys.com
Sun Sep 23 22:30:33 UTC 2012


   I read the sudoers man page and look at the examples and still don't grok
how to make a simple entry: I want to allow username 'pamela' to run a shell
script in her home directory as root because the script runs two commands
that need root permission.

   Do I need to set up an alias for this, then assign her to that alias?

   In essence, I'd like something like this in /etc/sudoers:

 	pamela  /home/pamela/shell-scripts/iface.sh root
 	(username)	(command)		    (as root)

A clue would be very nice,

Rich




More information about the PLUG mailing list