Re: PHP Run Command Line
| From: | Arcady Genkin | Date: | Thu, 05 Jul 2001 17:00:39 +0000 |
| Subject: | Re: PHP Run Command Line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56336@lists.php.net to get a copy of this message | ||
"Matt Simpson" <delete.matt@theonlinecreator.com> writes:
> I need to let PHP run a command as SU... is there any way it can be done? I
> need it to let Courier compile it's makeuserdb and makemaildir. Any help
> would be great.
If you *really* want to do that, you can install `sudo' package, and
configure it to allow running a particular command as root to whatever
user Apache runs as.
--
Arcady Genkin
i=1; while 1, hilb(i); i=i+1; end