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
 
------------------------------------------------
Paul Danko
Director of Information Technology
& Systems Development
American Mortgage
and Investment, Corp.
[EMAIL PROTECTED]
443.677.7279 Mobile
301.883.8881 x 127 Office
------------------------------------------------
 

Reply via email to