[Pkg-shadow-devel] Bug#60123: Password date of last change in the future : users cannot change their password

Christian Perrier Christian Perrier <bubulle@kheops.frmug.org>, 60123@bugs.debian.org
Thu, 12 May 2005 19:00:30 +0200


reassign 60123 libpam-modules
thanks

As mentioned in this bug report, users cannot change their passwords
when the last change date has been set in the future. For instance, if
the computer clock was wrong at the moment of the last change....

root@cc-mykerinos:/etc/cups# grep tintin /etc/shadow
tintin:$1$RVYuxBOq$lUUYn6HTPAgJ.d0qk88.D.:12915:0:99999:7:::

We are day 12915...

root@cc-mykerinos:/etc/cups# vi /etc/shadow

I manually set the last change field to 13915

root@cc-mykerinos:/etc/cups# su - tintin
tintin@mykerinos:~$ passwd
Changing password for tintin
(current) UNIX password:
You must wait longer to change your password
passwd: Authentication token manipulation error

I'm not sure this is really intended as is. Or, if it is, why this behaviour?

Or is this just a bug?

Anyway, the bug, if there's one, does not belong to passwd, but to
libpam-modules as the above message comes from pam_unix.so.

Hence reassigning. I hope I'm not wrong doing so.