Subject: Re: accouting info
To: Phil Knaack <email@example.com>
From: None <Chris_G_Demetriou@NIAGARA.NECTAR.CS.CMU.EDU>
Date: 01/11/1996 01:38:21
> >Is there a clean way under netbsd to determine the last login time of
> >your users? The way I figure it, you can search utmp records, check the
> >read time on directory or .login.
> >I really liked IRIX's habit of making a lastlogin file for each user.
> % last -5 USERNAME
not only is this answer not the best way to do it, it doesn't work
(!!) for users who log in infrequently compared to the wtmp rotation
lastlog is the way to go.