How to cause Apache to su to another user
Posted: Tue Dec 05, 2006 12:52 pm
I asked this question on the PHP Code forum, and was told to hask in the linux forum:
viewtopic.php?p=336085
viewtopic.php?p=336085
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Why would I ask the ubuntu forum?? I'm not running ubuntu...feyd wrote:I believe he was referring to the ubuntu forum that was linked to during the course of the thread, not here.
Any linux forum. If you want to try this with PHP then exec() etc will be no use since su needs to read from stdin. Try using proc_open() to get a handle on the running process and then pipe into stdin from there.memotype wrote:Why would I ask the ubuntu forum?? I'm not running ubuntu...feyd wrote:I believe he was referring to the ubuntu forum that was linked to during the course of the thread, not here.