This is the mail archive of the
mailing list for the Cygwin project.
Fw: login 1.4-2 LASTLOG file mismatch
- From: "Joshua" <jle at post dot com>
- To: <cygwin at cygwin dot com>
- Date: Sat, 5 Jan 2002 20:41:06 -0600
- Subject: Fw: login 1.4-2 LASTLOG file mismatch
Forwarding to the list for the explanation of the file size of lastlog.
----- Original Message -----
From: "Mark Bradshaw" <email@example.com>
To: "'Joshua'" <firstname.lastname@example.org>
Sent: Friday, 04 January, 2002 15:40
Subject: RE: login 1.4-2 LASTLOG file mismatch
> Lastlog is a bit strange. Instead of logging the UID of the information
> being stored, it indexes into the file a certain amount to denote the UID.
> For instance, if the information block that's stored at login takes up 256
> bytes, when a user with a UID of 400 logs in login will go into the file
> 400*256 bytes to find the appropriate spot to store that block of
> information. Seems like a bad way to go, but there you are. That's why
> suddenly balooned. It created a whole bunch of empty space just to put
> your login information in the "proper" place.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html