After set the Account Expire parameter on /etc/shadow (field #7) to 90 days,I need to know where to look around if an user account is locked down or not after those amount of days.
Right now, the only solid way which I did find to do that is just seeing the message that says the account is expired when the user tries to do ssh against the server.
Any ideas on how to check that from inside the server?
I'm using a Red Hat (Santiago) one.