apache restart for sudoer-user

Oliver Etzel - GoodnGo.COM (R) oliver at goodngo.com
Mon Oct 7 10:38:05 EDT 2002

Hi Todd,
thank u very much for answering me.

> What are you running to restart apache?  You should be doing:
>     sudo /usr/local/apache/bin/apachectl restart

I did that :
Cmnd_Alias WEBSTART = /usr/local/apache/bin/apachectl start
Cmnd_Alias WEBSTOP  = /usr/local/apache/bin/apachectl stop

> The permission denied messages you are getting makes it look
> like apachectl is not being run as root.

The service /usr/local/apache/bin/apachectl run as user root and group root

What can it be?

Oliver Etzel

More information about the sudo-users mailing list