Re: Running PHP scripts as a different user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux