on 7/5/01 11:00 AM, Arcady Genkin at [EMAIL PROTECTED] wrote:
> "Matt Simpson" <[EMAIL PROTECTED]> 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.
sudo is always one of the first things i install on my box. i never login as
root if i can help it. being forced to type 'sudo command' always makes me
think about what i'm doing.
and this is on a box with no users.
is this script being run from within apache or on the command line?
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]