Trigger root script?

From: Date: Mon, 26 Sep 2005 12:21:21 +0000
Subject: Trigger root script?
Groups: php.general 
Request: Send a blank email to php-general+get-223179@lists.php.net to get a copy of this message
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

« previous php.general (#223179) next »