Which file contains the data of the last change of a user's password?
Which file contains the data of the last change of a user's password?
The file /etc/shadow contains the encrypted passwords for users as well as additional information such as the date of the last password change. This information is vital for system security and managing password policies.
/etc/shadow contains the date of last password change
As per https://www.cyberciti.biz/faq/understanding-etcshadow-file/
At the end of a shadow cat you'll see for example ::0:99999:7:::, while passwd remains the same