Re: using system() as a different user

From: Date: Sat, 22 Sep 2001 03:44:17 +0000
Subject: Re: using system() as a different user
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68294@lists.php.net to get a copy of this message
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 richard@zend.com address is an endangered species -- Use ceo@l-i-e.com 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 <aplocher@erepublic.com> Newsgroups: php.general To: <php-general@lists.php.net> 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 >

« previous php.general (#68294) next »