Re: Using PHP to change Linux IP address
| From: | Greg Donald | Date: | Tue, 30 Nov 2004 21:57:29 +0000 |
| Subject: | Re: Using PHP to change Linux IP address | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203188@lists.php.net to get a copy of this message | ||
On Tue, 30 Nov 2004 16:50:27 -0500, John Nichel <john@kegworks.com> 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 Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/