leighsharpe has asked for the wisdom of the Perl Monks concerning the following question:
But /etc/network/interfaces is only writeable by root, which makes perfect sense, of course. However, my program won't be running as root, for all the obvious reasons. The user it will be running as does, however, have passwordless sudo access. Anybody got any better ideas?# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address [% address %] netmask [% mask %] gateway [% gateway %]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing IP address on linux box
by aquarium (Curate) on Nov 08, 2007 at 02:34 UTC | |
|
Re: Changing IP address on linux box
by KurtSchwind (Chaplain) on Nov 08, 2007 at 03:35 UTC | |
|
Re: Changing IP address on linux box
by tirwhan (Abbot) on Nov 08, 2007 at 09:22 UTC | |
|
Re: Changing IP address on linux box
by moritz (Cardinal) on Nov 08, 2007 at 07:45 UTC | |
|
Re: Changing IP address on linux box
by Anonymous Monk on Nov 09, 2007 at 10:12 UTC | |
|
Re: Changing IP address on linux box
by naikonta (Curate) on Nov 09, 2007 at 13:39 UTC | |
|
Re: Changing IP address on linux box
by leighsharpe (Monk) on Nov 09, 2007 at 00:10 UTC | |
by KurtSchwind (Chaplain) on Nov 11, 2007 at 13:21 UTC |