Re: finding IP address of ethernet card
-rwxr-xr-x 1 root root 45296 Nov 18 07:12 /sbin/ifconfig
so I don't see a problem to execute it as user:
[siemce@helios:~]$ id
uid=1000(siemce) gid=1000(siemce) groups=1000(siemce)
[siemce@helios:~]$ /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:20:77:38:29
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5249 errors:0 dropped:0 overruns:0 frame:0
TX packets:5873 errors:1 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:100
Interrupt:38 Base address:0xd400
On Wed, Dec 01, 1999 at 11:12:01PM -0500, Bryan Scaringe wrote:
> 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
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
--
Marcin Kurc
Indiana Institute of Technology
System Administrator
http://me.indtech.edu http://www.indtech.edu
Reply to: