svn commit: r237269 - in head: etc lib/libutil

Dag-Erling Smorgrav des at FreeBSD.org
Tue Jun 19 14:46:19 UTC 2012


Author: des
Date: Tue Jun 19 14:46:18 2012
New Revision: 237269
URL: http://svn.freebsd.org/changeset/base/237269

Log:
  Switch the default password hash from md5 to sha512.
  
  MFC after:	1 week

Modified:
  head/etc/login.conf
  head/lib/libutil/login.conf.5

Modified: head/etc/login.conf
==============================================================================
--- head/etc/login.conf	Tue Jun 19 11:39:56 2012	(r237268)
+++ head/etc/login.conf	Tue Jun 19 14:46:18 2012	(r237269)
@@ -23,7 +23,7 @@
 # AND SEMANTICS'' section of getcap(3) for more escape sequences).
 
 default:\
-	:passwd_format=md5:\
+	:passwd_format=sha512:\
 	:copyright=/etc/COPYRIGHT:\
 	:welcome=/etc/motd:\
 	:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\

Modified: head/lib/libutil/login.conf.5
==============================================================================
--- head/lib/libutil/login.conf.5	Tue Jun 19 11:39:56 2012	(r237268)
+++ head/lib/libutil/login.conf.5	Tue Jun 19 14:46:18 2012	(r237269)
@@ -267,7 +267,7 @@ The backoff delay is the number of tries
 multiplied by 5 seconds.
 .It "login-retries	number	10	The number of login attempts"
 allowed before the login fails.
-.It "passwd_format	string	md5	The encryption format that new or"
+.It "passwd_format	string	sha512	The encryption format that new or"
 changed passwords will use.
 Valid values include "des", "md5", "blf", "sha256" and "sha512"; see
 .Xr crypt 3


More information about the svn-src-all mailing list