Running system command or exec as differnet Users

From: Date: Fri, 27 Aug 2004 20:43:26 +0000
Subject: Running system command or exec as differnet Users
Groups: php.general 
Request: Send a blank email to php-general+get-194961@lists.php.net to get a copy of this message
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.. Thanks! -Paul ------------------------------------------------ Paul Danko Director of Information Technology & Systems Development American Mortgage and Investment, Corp. pdanko@gotoami.com 443.677.7279 Mobile 301.883.8881 x 127 Office ------------------------------------------------

« previous php.general (#194961) next »