Re: sudo weirdness

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: PLUG Discuss
Subject: Re: sudo weirdness
Am 25. Feb, 2004 schwätzte George Toft so:

> User_Alias WEB = gtoft
> Cmnd_Alias HTTP = /bin/su /usr/local/apache/bin/apachectl
> WEB ALL = (root) NOPASSWD: HTTP


That should be telling su to change to the '/usr/local/apache/bin/apachectl'
user.

As Tom suggested, drop the /bin/su off there. In the past I ran into probs
with this because apachectl is a shell script and sudo didn't quite run it
as root, so I had to add the real command apachectl calls to the Cmnd_Alias.

ciao,

der.hans
-- 
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  Hope has two beautiful daughters: Anger and Courage. Anger at the way
#  things are, and Courage to struggle to create things as they should be.
#  -- St. Augustine
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss