Execute commands at root?
| From: | David Busby | Date: | Fri, 18 May 2001 20:43:16 +0000 |
| Subject: | Execute commands at root? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-148121@lists.php.net to get a copy of this message | ||
List,
How can I get my PHP scripts running under Apache (as nobody:nobody) to
be able to run a command for iptables? iptables needs root access, but PHP
can't do it. Must I work a clever sudo trick? Can someone provide an
example, I have zero experience with sudo. Other options?
/B