Re: exec as another user
| From: | Henrik Hansen | Date: | Wed, 07 Mar 2001 19:09:45 +0000 |
| Subject: | Re: exec as another user | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42937@lists.php.net to get a copy of this message | ||
> Hi,
>
> This may be a stupid question but how can I execute programs as another
> user under php?
> I'm using Linux with Apache 1.3.12 and PHP 4.
The only way i can figure out would be by using the sudo command without a
password
(don't do that with root), do a 'man sudo' on your linux box
--
Henrik Hansen