Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2012 14:46:19 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r237269 - in head: etc lib/libutil
Message-ID:  <201206191446.q5JEkJTY050836@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206191446.q5JEkJTY050836>