pavement

Expiring passwords

From FreeBSDwiki
Revision as of 15:37, 21 November 2006 by 69.145.253.1 (Talk)
Jump to: navigation, search

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

Personal tools