How do I change the maximum number of days between passwords in Linux?
Answer
To turn off the password expiration for an user account, set the following:
Answer
To turn off the password expiration for an user account, set the following:
- -m 0 will set the minimum number of days between password change to 0.
- -M 99999 will set the maximum number of days between password change to 99999.
- -I -1 (number minus one) will set the “Password inactive” to never.