This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fw: login 1.4-2 LASTLOG file mismatch


    Forwarding to the list for the explanation of the file size of lastlog.
BCNU//jle

----- Original Message -----
From: "Mark Bradshaw" <bradshaw@staff.crosswalk.com>
To: "'Joshua'" <jle@post.com>
Sent: Friday, 04 January, 2002 15:40
Subject: RE: login 1.4-2 LASTLOG file mismatch


<<SNIP>>

> 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
it
> suddenly balooned.  It created a whole bunch of empty space just to put
the
> your login information in the "proper" place.
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]