Re: Running system command or exec as differnet Users

From: Date: Sat, 28 Aug 2004 09:49:52 +0000
Subject: Re: Running system command or exec as differnet Users
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194994@lists.php.net to get a copy of this message
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. root@server>su userNo1 userNo1@server>/home/server/executeScript all in a php system() or exec() call..
http://expect.nist.gov/

« previous php.general (#194994) next »