Read the fine maual: #man passwd
[...] Password expiry information The password aging information may be changed by the super user with the -x, -n, -w, and -i options. The -x option is used to set the maximum number of days a password remains valid. After max days, the password is required to be changed. The -n option is used to set the minimum number of days before a password may be changed. The user will not be permitted to change the password until min days have elapsed. The -w option is used to set the num ber of days of warning the user will receive before their password will expire. The warning occurs warn days before the expiration, telling the user how many days until the password is set to expire. The -i option is used to dis able an account after the password has been expired for a number of days. After a user account has had an expired password for inact days, the user may no longer sign on to the account. [...] Simon Gray <[EMAIL PROTECTED]> 22 May 2001, at 14:44: > Hi all, > > just woundering. Is there anyway to stop user accounts from expiring? > > Because i've got a few email accounts on a machine. Using > sendmail/qpop. That all works fine. But for some reason some of the > accounts seem to expire every week or so... Yet others on the same > machine don't.... > > any ideas how i can stop these from expiring? > > Best Regards, > > Simon >