Subject: Re: lastlogin
To: Allen Briggs <briggs@canolog.ninthwonder.com>
From: Joe Laffey <joe@laffeycomputer.com>
List: port-mac68k
Date: 10/30/1998 23:45:39
On Fri, 30 Oct 1998, Allen Briggs wrote:

> > Is it normal for the last login to always be listed as an IP address? If
> > this is not normal what might I have fouled up? My DNS seems to work fine.
> > I can nslookup forward and reverse host names with no problem.
> 
> I believe that's normal if the length of the hostname exceeds 16
> characters.  Since wtmp can only store 16 characters, NetBSD stores
> the IP address so you can get the real full hostname later instead
> of seeing, for example: "123-235-124.a-lo" in the lastlog output.

I've noticed that other OSes (SunOS 5.5.1, Linux, etc.) record this
information even if it is long. Can this limit be adjusted in a config
file?


Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
http://www.laffeycomputer.com
-----------------------------