Re: [PHP] exec as another user

2001-03-07 Thread Henrik Hansen
And be careful what you put a +s on, so it can't be exploited -- Henrik Hansen - Original Message - From: "Jon Snell" <[EMAIL PROTECTED]> To: "php general" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 12:44 AM Subject: RE: [PHP] exec as anoth

Re: [PHP] exec as another user

2001-03-07 Thread Jason Brooke
Or install the cgi version and use it in conjunction with suExec alongside the module version. jason - Original Message - From: "Jon Snell" <[EMAIL PROTECTED]> To: "php general" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 9:44 AM Subject: RE: [

RE: [PHP] exec as another user

2001-03-07 Thread Jon Snell
It would be a much better idea to set the +s flag on the executable you are trying to run, and make sure it's owned by the other user. -Original Message- From: Henrik Hansen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 1:10 PM To: php general Subject: Re: [PHP] ex

Re: [PHP] exec as another user

2001-03-07 Thread Henrik Hansen
> 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 --

[PHP] exec as another user

2001-03-07 Thread Ivari Horm
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. Thank you in advance. Ivari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [