bin/76089: The "-n" option in /usr/bin/w is broken

Peter Jeremy PeterJeremy at optushome.com.au
Sun Feb 13 22:20:30 PST 2005


The following reply was made to PR bin/76089; it has been noted by GNATS.

From: Peter Jeremy <PeterJeremy at optushome.com.au>
To: Sergey Matveychuk <sem at freebsd.org>
Cc: freebsd-gnats-submit at freebsd.org, jesper at hackunite.net,
	hackers at freebsd.org
Subject: Re: bin/76089: The "-n" option in /usr/bin/w is broken
Date: Mon, 14 Feb 2005 17:16:23 +1100

 On Sun, 2005-Feb-13 19:50:44 +0300, Sergey Matveychuk wrote:
 >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.
 
 Depending on the environment, the IP address may be more changeable
 than the hostname.  Definitely, in a DHCP or dialup environment, you
 can't rely on the IP address at any time other than during the
 session.  There is little (if any) benefit in logging the IP address
 instead of the hostname.
 
 -- 
 Peter Jeremy


More information about the freebsd-bugs mailing list