Alex Prinsier wrote these words on 09/26/05 15:22 CST:
> Indeed a nice work around. But I'm getting confused now that you tell me
> about lastlog.
> 
> Aren't you talking about utmp/wtmp? What's the difference between
> /var/log/wtmp, utmp and lastlog?
> 
> My first thought was that lastlog just keeps a log of which user logged
> in from where the last time. Utmp and wtmp keep track of who is
> currently logged in, don't know why there are 2 files though...

Please read the utmp man page. Every question you ask in the message
above is answered. :-)

-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
15:28:00 up 1 day, 23:52, 3 users, load average: 0.00, 0.15, 0.37
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to