You are here: Trigger root script? « PHP « IT news, forums, messages
Trigger root script?

Posted by Jeffrey Sambells on 09/26/05 15:21

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация