RE: [PHP] is their a way to run a command as root ???
| From: | Jason Murray | Date: | Wed, 24 Apr 2002 13:37:36 +0000 |
| Subject: | RE: [PHP] is their a way to run a command as root ??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94378@lists.php.net to get a copy of this message | ||
> Is their a way to run a command as root..or another user..
>
> I know their are a log of security issues with allowing this.. I will
> tighten down security after I get it to work.
Get your sysadmin to set up "sudo" so that the user running your
web server (usually "nobody", "httpd" or "www") can execute that
one single command, then use PHP's Execute() function.
Jason