Hello,
I believe I may have found a minor bug in the "who" utility.
I am running RedHat Linux 7.3 on an i686 with kernel version 2.4.18-18.7.x
and version 2.0.11 of who.
The attached file, "whofile.txt", has output from the following commands:
1. who --version
2. who
3. ifconfig
4. who (after logout and login)
Note that the first "who" contains an IP address for the console tty1. This
should not happen. After logout and login, the second "who" does NOT show
an IP address for tty1. I believe that this problem is somehow related to
the fact that, for the first "who" listing, there is a LAN login with the
same timestamp as the console tty login. The IP address of this LAN login
is what is being displayed as the incorrect IP address of the console tty.
Perhaps a table is being referenced incorrectly, based on login time. (Note
that the IP address of the console is not one of the addresses shown).
Thank you.
James Modecki
EVP Systems, Inc.
818.313.6300 x114
who (GNU sh-utils) 2.0.11
Written by Joseph Arceneaux and David MacKenzie.
Copyright (C) 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
jmodecki tty1 Dec 19 13:48 (192.168.123.166)
rjones pts/2 Dec 19 11:20 (192.168.123.167)
aslott pts/3 Dec 19 08:24 (192.168.123.165)
gknauss pts/4 Dec 19 13:03 (192.168.123.161)
szlatkov pts/6 Dec 19 12:57 (192.168.123.159)
gknauss pts/0 Dec 16 17:08 (192.168.123.161)
rjones pts/7 Dec 19 13:48 (192.168.123.166)
eth0 Link encap:Ethernet HWaddr 00:90:27:62:66:FC
inet addr:192.168.123.253 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6759398 errors:0 dropped:0 overruns:0 frame:0
TX packets:5737114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3167053540 (3020.3 Mb) TX bytes:1017338276 (970.2 Mb)
Interrupt:14 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:17566534 errors:0 dropped:0 overruns:0 frame:0
TX packets:17566534 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1572755082 (1499.8 Mb) TX bytes:1572755082 (1499.8 Mb)
jmodecki tty1 Dec 19 13:59
rjones pts/2 Dec 19 11:20 (192.168.123.167)
aslott pts/3 Dec 19 08:24 (192.168.123.165)
gknauss pts/4 Dec 19 13:03 (192.168.123.161)
szlatkov pts/6 Dec 19 12:57 (192.168.123.159)
gknauss pts/0 Dec 16 17:08 (192.168.123.161)
rjones pts/7 Dec 19 13:48 (192.168.123.166)
_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils