bin/76089: The "-n" option in /usr/bin/w is broken
Masachika ISHIZUKA
ishizuka at ish.org
Sun Feb 13 23:17:46 PST 2005
>>> IMHO to be more robust, we should make utmp to hold an IP address
>>> instead of a hostname and change all applications that use it. As
>>> bonus it will fix a delay on login when resolving does not work.
>>> And last(1) will show more useful IP address instead of changable
>>> hostname.
>
[snip]
>
> Actually, it would be nice to log both. That's what I have done
> for some printer-related statistics (not sure if I did that in
> FreeBSD, but I do that for production use at RPI).
Hi, this is ishizuka at ish.org.
Please you should think IPv6 address that may be 39 bytes.
I connected to sshd from a remote computer but w -n displayed IPv4
address. It was not good for me.
--
ishizuka at ish.org
More information about the freebsd-hackers
mailing list