You either need to use that sudo or suid thingie, or set up a PHP "CGI"
(using a different extension and mime-type) wrapped in suExec
(http://apache.org)
I don't know anything more than that -- Just providing the road-signs to the
right paths.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Adam Plocher <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 3:34 PM
Subject: using system() as a different user
> I'm trying to use the system() function to execute a shell command, but
the
> shell command that needs to be executed, needs to be executed as a
different
> user (not the default 'nobody' user). Can somebody show me what I need to
> do, to accomplish this.
>
> Thanks
>
> -Adam
>
--
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]