[sudo-users] Allowing apache to run 1 command only

Daniel Harrison dgharrison at gmail.com
Mon Oct 4 23:20:46 EDT 2004


Hi there,

i'm a noob to sudo.

what i want to do is allow apache to execute

sudo /usr/bin/svn update /svn-working

as root without suppling a password, i've tried the following but i
get syntax errors

apache localhost=/usr/bin/svn update /svn-working NOPASSWD: ALL

however visudo gives me a syntax error. what am i doing wrong?

-- 
Daniel Harrison
Hobart, Australia



More information about the sudo-users mailing list