parse error on command

Nipple Pincher npincher at yahoo.com
Thu Nov 20 12:29:38 EST 2003


I would like the user bob to run the following command as root.
 
(/usr/bin/cd /usr/app;/usr/app/app stop)
 
Every attemp at setting up my sudoers file for this command comes up with a parse error. Is this even possible in sudo?
 
My sudoers line looks something like this
 
bob   bobserver = (root) (/usr/bin/cd /usr/app;/usr/app/app stop)
 
I have tried escaping out "(", ";", and ")" to no avail.
 
Thanks in advance
NP


---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now


More information about the sudo-users mailing list