From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 14 06:16:28 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D85416A4D3; Mon, 14 Feb 2005 06:16:28 +0000 (GMT) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5771943D39; Mon, 14 Feb 2005 06:16:27 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) j1E6GObe012409 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 14 Feb 2005 17:16:25 +1100 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])j1E6GN7l070852; Mon, 14 Feb 2005 17:16:24 +1100 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost)j1E6GN3S070851; Mon, 14 Feb 2005 17:16:23 +1100 (EST) (envelope-from pjeremy) Date: Mon, 14 Feb 2005 17:16:23 +1100 From: Peter Jeremy To: Sergey Matveychuk Message-ID: <20050214061622.GA70826@cirb503493.alcatel.com.au> References: <420F8564.5060200@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <420F8564.5060200@FreeBSD.org> User-Agent: Mutt/1.4.2i cc: hackers@freebsd.org cc: jesper@hackunite.net cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/76089: The "-n" option in /usr/bin/w is broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 06:16:28 -0000 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