Managing User Password Expiration with chage
I want to talk a little about a Linux tool called chage which should be available on most Linux distributions with base installation. Yes chage this is not a typo. It is a tool to view and change the user password expiry information. It can be used to list the current password status of a user and also to set the password expiry information. I encountered it when one day after installing some service on a Linux server it just refused to work as expected. The root cause of it all was the dedicated user’s password had expired. You can get the details of the user password expiry information by running sudo chage -l youruser. The output will look something like this: ...