Re: Time to rethink ifupdown
On Sun, 20 Aug 2006 16:11:16 +0700, David Goodenough
Obviously if you are configuring a server you do not want others than the
administrator setting up the network, but if you are the sole user of a
laptop there needs to be a safe way for the user (non-technical) to do
this as the user moves from one location to another.
One option that has occurred to me is to establish a group which is
to edit /etc/network/interfaces. The obvious problem with this is the
down commands, which allow any program to be run as root. Fortunately
is an answer, which is to use the "macro" facility that ifupdown has
used for wireless-xxx) and then it gets controllable and therefore safe
used properly). This would need either to abandon up and down all
or to have a switch (presumable in /etc/defaults/ifupdown) which enabled
use of this group and disabled the use of up and down.
When a laptop user moves between usual locations, there should be no need
to edit /etc/network/interfaces. If you mean adding new locations, there
really should be user-friendly tools which do it.
Alexey Feldgendler <email@example.com>
[ICQ: 115226275] http://feldgendler.livejournal.com