Re: How do I run a command as root?
| From: | Marek Kilimajer | Date: | Mon, 02 Dec 2002 10:52:12 +0000 |
| Subject: | Re: How do I run a command as root? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126696@lists.php.net to get a copy of this message | ||
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