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.

   $ ifconfig
   -bash: ifconfig: command not found
   $ su
   Password: [enter root password]
   # ifconfig
   .
   . (expected output from ifconfig
   .

The problem is that, by default, ordinary users don't have
/sbin in their PATH variable.  Not on a plain-vanilla
Debian system.  But it's true that an ordinary user can
run ifconfig by issuing

   $ /sbin/ifconfig

or by modifying the PATH variable to include /sbin.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to