RE: [PHP-WIN] Re: Running PHP scripts as a different user
| From: | John Yu | Date: | Wed, 05 May 2004 03:56:17 +0000 |
| Subject: | RE: [PHP-WIN] Re: Running PHP scripts as a different user | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23625@lists.php.net to get a copy of this message | ||
Runas has a /savecred to load a saved credential, maybe that will help?
-----Original Message-----
From: Jason Barnett [mailto:jasbarne@indiana.edu]
Sent: Tuesday, May 04, 2004 10:41 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] 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