diff options
author | des <des@FreeBSD.org> | 2012-06-19 14:46:18 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2012-06-19 14:46:18 +0000 |
commit | c1d3d1a5fdd958d82ace5366234a1679c3b66929 (patch) | |
tree | e988f191e68b715a6c95895883ef50725a581420 | |
parent | 4d9f5b822708da832e0145d2dc2777d35a95d910 (diff) | |
download | FreeBSD-src-c1d3d1a5fdd958d82ace5366234a1679c3b66929.zip FreeBSD-src-c1d3d1a5fdd958d82ace5366234a1679c3b66929.tar.gz |
Switch the default password hash from md5 to sha512.
MFC after: 1 week
-rw-r--r-- | etc/login.conf | 2 | ||||
-rw-r--r-- | lib/libutil/login.conf.5 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/login.conf b/etc/login.conf index a454758..d1b9e4b 100644 --- a/etc/login.conf +++ b/etc/login.conf @@ -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:\ diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5 index bd741fb..a07e1f0 100644 --- a/lib/libutil/login.conf.5 +++ b/lib/libutil/login.conf.5 @@ -267,7 +267,7 @@ The backoff delay is the number of tries above 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 |