summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/login.conf2
-rw-r--r--lib/libutil/login.conf.52
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
OpenPOWER on IntegriCloud