Linux: Check User Password Expiry Time

Objective: Check the user account password expiry information on Linux.

User password expiry information can be checked using the chage command. It can display password expiry date, the date of last password change and the number of days between password change. All these information is stored in the /etc/shadow file.

To view the user password aging information, run:

The above account has password aging disabled. An account with password aging set might look like the one below.

ibrahim = { interested_in(unix, linux, android, open_source, reverse_engineering); coding(c, shell, php, python, java, javascript, nodejs, react); plays_on(xbox, ps4); linux_desktop_user(true); }