command to findout password expiry date
I would like to know is there command which will tell me when password will be expire and when last password was changed ?
like on linux chage -l <username?
It can be checked in /etc/shadow file in it's 8th field.
As per manual of shadow:
|All times are GMT -5. The time now is 10:30 PM.|