How do I change the maximum number of days between passwords in Linux?

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:
  1. -m 0 will set the minimum number of days between password change to 0.
  2. -M 99999 will set the maximum number of days between password change to 99999.
  3. -I -1 (number minus one) will set the “Password inactive” to never.
23 апр. 2009 г.
 

Tìm kiếm

Back
Top