Re: eth0 or eth1
On 2010-01-28 19:57:42 -0500, Stephen Powell wrote:
> On Thu, 28 Jan 2010 19:11:29 -0500, Vincent Lefevre wrote:
> > On 2010-01-28 16:09:11 -0500, Stephen Powell wrote:
> > > By default, ifconfig only shows active interfaces. Issue "ifconfig -a"
> > > to show *all* interfaces. (You have to be root of course.)
> >
> > No need to be root!
>
> On my system you *do* need to be root.
By using /sbin (in the command line or in $PATH) as you noticed, this
is not needed. For security reasons, it's better to run commands as
normal users rather than root.
BTW, I wonder why ifconfig is in /sbin instead of /bin. It isn't more
a system command than ping or netstat, for instance. And if this is
because some of its use needs to be root, this is the same for date.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Reply to: