Runas has a /savecred to load a saved credential, maybe that will help? -----Original Message----- From: Jason Barnett [mailto:jasbarne@xxxxxxxxxxx] Sent: Tuesday, May 04, 2004 10:41 PM To: php-windows@xxxxxxxxxxxxx Subject: Re: Running PHP scripts as a different user De Greef SéBastien wrote: > why don't you try runas in the exec() function ? > runas requires you to enter the password credentials after you've executed the command. I'm not aware of how to pass information like that while PHP is trying to use exec(), it just hangs waiting for input that never comes. Have you done this? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php