[Pkg-shadow-devel] Re: [debian-bugs@coolhack.net: lastlog: fails when high UID's present]

David Stipp debian-bugs@coolhack.net
Wed, 12 Jan 2005 23:04:07 -0600


On Tue, Jan 11, 2005 at 06:56:52PM +0100, Christian Perrier wrote:
> Well, if you can try the packages on i386, here they are:
> 
> http://www.perrier.eu.org/debian/packages
> 
> 78d456c51713b4ea58a94b5a32240760  passwd_4.0.3-31_i386.deb
> d5fe84d521dcb426379fb189ec9e4fce  login_4.0.3-31_i386.deb
> d32f0b81da4c28039beeb010962cd669  shadow_4.0.3-31.diff.gz
> 52294d78d5e216784736815864d88610  shadow_4.0.3-31_i386.changes
> 914ec044a53e457a5517361ec695cf48  shadow_4.0.3-31.dsc

Well, things kind of work. It will parse the lastlog on all of the
machines.

Works flawlessly on one machine. Displays, and all the entries have
correct information.

On the other three machines, it will display the lastlog, but the dates
of last login are not being updated / showing the wrong date. The file
/var/log/lastlog is being updated, however, lastlog is not showing the
correct data. It's pretty easy to confirm that, as it says that my
account has never logged in on two machines, and on the third it says I
logged in last months before. I logged out / back in to ensure that this
would update.

I'm really at a loss as to why this would work flawlessly on one
machine, yet be partially broken on the three others. I'll take a look
at this in the morning. (I plan on just moving the old lastlog out of
place, and get a new one created, and see how things go from there.)

Thanks for working on this Christian!

David Stipp