As your server process run as nobody or apache, you need a wrapper setuid root program that will
execute the command you want, but you must be very carefull so it is not exploitable.

Luke van Blerk wrote:

Hi

I'm trying to find out how to run a command on the server as root. Does
anybody know how to do this?

Thanks
Luke





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to