I need a php script to trigger another script to run as root on a machine. Currently, the scripts run as the www-data user, but that means I can't modify any files on the system that aren't owned by www-data or world writable. I somehow need to trigger a php script to run as the root user. I thought of using a cron to watch for some indicator but that would mean there could be a one minute delay. Any thoughts? Running php / linux and I have root access to the machine myself so i can set it up however I need to.

Thanks.

Jeff


--
Jeffrey Sambells
Director of Research and Development
We-Create Inc.
519.897.2552 cell
519.745.7374 office
888.615.7374 toll free
http://www.wecreate.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to