Disable password aging for a particular account using “chage”

If you want a user’s password to never expire use:
# chage -I -1 -m 0 -M 99999 -E -1 theuser
If you just want to check the user’s password expiry then
# chage -l theuser
# passwd -Sa | grep -i theuser

Leave a Reply

Your email address will not be published. Required fields are marked *