Re: [PHP] Running system command or exec as differnet Users

2004-08-28 Thread Marek Kilimajer
Paul Danko wrote: Is it possible to run a command on the system using the system() or exec() commands run as a specific user if I have the username and password? i.e. [EMAIL PROTECTED]>su userNo1 [EMAIL PROTECTED]>/home/server/executeScript all in a php system() or exec() call.. http://expe

[PHP] Running system command or exec as differnet Users

2004-08-27 Thread Paul Danko
Is it possible to run a command on the system using the system() or exec() commands run as a specific user if I have the username and password? i.e. [EMAIL PROTECTED]>su userNo1 [EMAIL PROTECTED]>/home/server/executeScript all in a php system() or exec() call.. Thanks! -Paul ---