pavement

Expiring passwords

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
(The link directs us to manual pages, not handbook)
 
(2 intermediate revisions by 2 users not shown)
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 Manual Pages: http://www.freebsd.org/cgi/man.cgi?query=login.conf&sektion=5
  
 
[[Category: Securing FreeBSD]]
 
[[Category: Securing FreeBSD]]
 
[[Category: FreeBSD for Servers]]
 
[[Category: FreeBSD for Servers]]
 
  [[Category:Configuring FreeBSD]]
 
  [[Category:Configuring FreeBSD]]

Latest revision as of 04:04, 29 August 2011

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 Manual Pages: http://www.freebsd.org/cgi/man.cgi?query=login.conf&sektion=5

Personal tools