Linux: Disable password aging for a user

Hi,

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

Michael

Leave a Reply Cancel reply