[Pkg-shadow-devel] [pkg-shadow-Bugs][313570] chage reports an incorrect date for last password change

pkg-shadow-bugs at alioth.debian.org pkg-shadow-bugs at alioth.debian.org
Mon Mar 12 19:14:45 UTC 2012


Bugs item #313570, was opened at 2012-03-12 15:14 by Christopher Plummer
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411478&aid=313570&group_id=30580

Status: Open
Priority: 3
Submitted By: Christopher Plummer (strmer15-guest)
Assigned to: Nobody (None)
Summary: chage reports an incorrect date for last password change 
Category: None
Group: None
Resolution: None


Initial Comment:
If I create a new user after midnight GMT in my local time zone, the /etc/shadow file has a value for days since the epoch of last password change which is for tomorrow.  When I run 'chage -l newuser', it reports the Last password change as the next day.

i.e.

> date
Mon Mar 11 22:11:37 EDT 2012
> useradd fakeUser
> chage -l fakeUser
Last password change                                                : Mar 12, 2012
Password expires                                                       : never
Password inactive                                                       : never
Account expires                                                         : never
Minimum number of days between password change     : 0
Maximum number of days between password change    : 99999
Number of days of warning before password expires       : 7

I'm running shadow-utils 4.1.4.3-13.fc16 on my Fedora box with kernel 3.2.9-1.fc16 on a 64-bit machine.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411478&aid=313570&group_id=30580



More information about the Pkg-shadow-devel mailing list