Re: How do I su to another account??
| From: | Ian Firla | Date: | Thu, 11 Nov 2004 19:00:30 +0000 |
| Subject: | Re: How do I su to another account?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201782@lists.php.net to get a copy of this message | ||
Do you really need to switch users or do you need to run something as
another user?
Try looking into setting up and using sudo.
Ian
On Thu, 2004-11-11 at 09:20 -0500, Scott Fletcher wrote:
> How do I su (switch user) to another account from the nobody in php? I
> haven't got it to work, so I get the impression that it is either I'm doing
> it all wrong in PHP script or that the nobody doesn't have the authority to
> do so.
>
> Have anyone who ever successfully do it please post a sample script?
>
> Thanks,
> Scott
>