Expiring passwords
From FreeBSDwiki
(Difference between revisions)
Line 3: | Line 3: | ||
:warnpassword=5d:\ | :warnpassword=5d:\ | ||
to your [[login.conf]] file in /etc. | to your [[login.conf]] file in /etc. | ||
+ | * dont forget to run cap_mkdb /etc/login.conf | ||
You may also be interested in this article: http://www.nas.nasa.gov/Groups/Security/epasswd/article.html and this section of the Handbook: http://www.freebsd.org/cgi/man.cgi?query=login.conf&sektion=5 | You may also be interested in this article: http://www.nas.nasa.gov/Groups/Security/epasswd/article.html and this section of the Handbook: http://www.freebsd.org/cgi/man.cgi?query=login.conf&sektion=5 |
Revision as of 14:37, 21 November 2006
You can force a change of password, and warn about the upcoming change, by adding
:passwordtime=90d:\ :warnpassword=5d:\
to your login.conf file in /etc.
- dont forget to run cap_mkdb /etc/login.conf
You may also be interested in this article: http://www.nas.nasa.gov/Groups/Security/epasswd/article.html and this section of the Handbook: http://www.freebsd.org/cgi/man.cgi?query=login.conf&sektion=5