finding IP address of ethernet card

1999-12-02 Thread Bryan Scaringe
How would a user find out the IP address assigned to eth0. This is a normal user, not a sys-op, so he doesn't have access to ifconfig. Thanks, Bryan

Re: finding IP address of ethernet card

1999-12-02 Thread Marcin Kurc
-rwxr-xr-x1 root root45296 Nov 18 07:12 /sbin/ifconfig so I don't see a problem to execute it as user: [EMAIL PROTECTED]:~]$ id uid=1000(siemce) gid=1000(siemce) groups=1000(siemce) [EMAIL PROTECTED]:~]$ /sbin/ifconfig eth0 eth0 Link encap:Ethernet HWaddr 08:00:20:77:38:29

Re: finding IP address of ethernet card

1999-12-02 Thread Phil Brutsche
A long time ago, in a galaxy far, far way, someone said... How would a user find out the IP address assigned to eth0. This is a normal user, not a sys-op, so he doesn't have access to ifconfig. Even a normal user can run ifconfig; the normal user just can't change anything with ifconfig. Run

Re: finding IP address of ethernet card

1999-12-02 Thread Marc-Adrian Napoli
Hi all, A long time ago, in a galaxy far, far way, someone said... How would a user find out the IP address assigned to eth0. This is a normal user, not a sys-op, so he doesn't have access to ifconfig. Even a normal user can run ifconfig; the normal user just can't change anything with

Re: finding IP address of ethernet card

1999-12-02 Thread Kenneth Scharf
The trick (as you showed, but didn't point out) is that you must either have /sbin in you path (which root does) or specifiy it when you try to run ifconfig. Mere mortals must run ifconfig as such: /sbin/ifconfig Root can just type ifconfig, because /sbin is in his path. Or course mere mortals