Linux: Disable password aging for a user


this command line disables the password aging for a specific user

root@debdev ~# chage -I -1 -m 0 -M 99999 -E -1 myuser

Parameters in detail

  • -m : The minimum Password Age to 0
  • -M : The maximum Password Age to 99999
  • -I : Password Inactive to -1
  • -E : Account Expiration Date to -1

These parameter were stored in /etc/shadow


Advertisment to support

Leave a Reply

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

Time limit is exhausted. Please reload CAPTCHA.