Jan 12, 2004 #1 rrsub MIS Joined Oct 23, 2002 Messages 536 Location US I'd like to execute a command as another user on my server using PHP. Is there another way other than exec() and unprotect the files so that it can execute?
I'd like to execute a command as another user on my server using PHP. Is there another way other than exec() and unprotect the files so that it can execute?
Jan 12, 2004 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US What operating system? If you're running on Linux, you can use sudo to run a command as another user from PHP. Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
What operating system? If you're running on Linux, you can use sudo to run a command as another user from PHP. Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!
Jan 12, 2004 Thread starter #3 rrsub MIS Joined Oct 23, 2002 Messages 536 Location US Linux. Is my page for me. I want to have Postfix run postmap through a page I created for me only. Upvote 0 Downvote