You can use the following command to check a user’s password expiration date and time in Linux:
chage -l username
Replace “username” with the actual username you want to check. The output will include information about the account, including the password expiration date and time.