Exec() command on UNIX

From: Date: Wed, 01 Dec 2004 09:18:01 +0000
Subject: Exec() command on UNIX
Groups: php.general 
Request: Send a blank email to php-general+get-203219@lists.php.net to get a copy of this message
Dear PHP support, I have a question on an exec() command, if I would like to switch user right on Unix server, what command should I use? example: on the UNIX shell will be like below $su root Password:'password' but when I tried running exec() command on PHP, I couldn't do that exec("su root"); I can't sent a password thru the exec() command, any way to do that? Thank you very much Sitthipong Thuetham sitthbkk@msn.com<mailto:sitthbkk@msn.com>

« previous php.general (#203219) next »