OK, on Solaris, man passwd tells you all you need to know. I guess it depends on your OS?
On Solaris, the file /etc/default/passwd can contain the following entries;
MAXWEEKS Maximum time period that password is valid.
MINWEEKS Minimum time period before the password can be changed.
PASSLENGTH Minimum length of password, in characters.
WARNWEEKS Time period until warning of date of password's ensuing expiration.
For example, my /etc/default/passwd looks like this ...
Code:
MAXWEEKS=
MINWEEKS=
PASSLENGTH=6
... meaning my passwords never expire, but they must be at least 6 characters long.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.