You can use the MAXWEEKS
default in the /etc/defaults/passwd file to set the maximum number of weeks that a user's password is valid. To set a default
maximum time period, type the appropriate number of weeks after the equal sign on the MAXWEEKS=line:
MAXWEEKS=N |
Where N is a number of weeks. For example, MAXWEEKS=9.