Re: How do I su to another account??
| From: | Scott Fletcher | Date: | Thu, 11 Nov 2004 21:35:42 +0000 |
| Subject: | Re: How do I su to another account?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201802@lists.php.net to get a copy of this message | ||
Yea, switch users so I can do the chmod, chown, etc... Um, I'll look into
it.
Thanks,
Scott
"Ian Firla" <ifirla@aegissrl.it> wrote in message
news:1100199630.8800.7.camel@claudius...
>
> 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
> >