Incorrect Last password change displayed by chage
Issue
-
Last password change date displayed by
chage
is incorrect.# passwd bob Changing password for user bob. New password: Retype new password: passwd: all authentication tokens updated successfully. # date Sun May 9 09:50:09 AEST 2021 <<<<<===== # chage -l bob Last password change : May 08, 2021 <<<<<===== 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
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.