Greg Donald wrote:
On Tue, 30 Nov 2004 16:50:27 -0500, John Nichel <[EMAIL PROTECTED]> wrote:

PHP (the webserver) would have to have permission to edit the ifcfg-eth0
(eth1, eth2, etc) file, and have permission to restart the network.


sudo would probably help with the permissions requirements.

Greg's right, but if you go the sudo route (in fact any route giving your webserver this type of permission), read and understand the docs completely. Editing the ifcfg-ethX file is one thing, but giving it the permission level to restart the network could lead to serious security issues if it's not done properly.


I'll stop now, as this can easily go waaay off topic, and can become an extremely long, involved thread. ;)

--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com

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



Reply via email to