At 5:16 PM +1100 2/14/05, Peter Jeremy wrote:
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.

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).

--
Garance Alistair Drosehn            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to