Re: [PHP] Using PHP to change Linux IP address

2004-11-30 Thread John Nichel
AndyO wrote: I'm working on a project where an engineer/user has to be able to log in to a device locally and change the IP address. The OS is Linux. We want to make the interface simple and so we thought of using a webpage that allows the engineer/user to change the address without having to

Re: [PHP] Using PHP to change Linux IP address

2004-11-30 Thread AndyO
John Nichel wrote: AndyO wrote: I'm working on a project where an engineer/user has to be able to log in to a device locally and change the IP address. The OS is Linux. We want to make the interface simple and so we thought of using a webpage that allows the engineer/user to change the address

[PHP] Using PHP to change Linux IP address

2004-11-30 Thread AndyO
I'm working on a project where an engineer/user has to be able to log in to a device locally and change the IP address. The OS is Linux. We want to make the interface simple and so we thought of using a webpage that allows the engineer/user to change the address without having to use the Linux

Re: [PHP] Using PHP to change Linux IP address

2004-11-30 Thread Greg Donald
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 Donald

Re: [PHP] Using PHP to change Linux IP address

2004-11-30 Thread John Nichel
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.