summaryrefslogtreecommitdiff
path: root/modules/pam_unix
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2020-04-10 13:44:29 +0300
committerTopi Miettinen <toiwoton@gmail.com>2020-04-12 16:45:15 +0300
commit373f2659e0dc2546dd0997e3ba825b0f53838d59 (patch)
tree94a5fa163889b0361c411bdf64ba3bd2be731a69 /modules/pam_unix
parent9d66915f03b2ccbab447f45d3f2d2243b51204e9 (diff)
pam_unix: modernize example in manual page
According to crypt(5), md5 should not be used for new hashes. Let's give a modern example with yescrypt. Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Diffstat (limited to 'modules/pam_unix')
-rw-r--r--modules/pam_unix/pam_unix.8.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/pam_unix.8.xml b/modules/pam_unix/pam_unix.8.xml
index 607ec85c..fa02c3a6 100644
--- a/modules/pam_unix/pam_unix.8.xml
+++ b/modules/pam_unix/pam_unix.8.xml
@@ -467,7 +467,7 @@ account required pam_unix.so
# Change the user's password, but at first check the strength
# with pam_cracklib(8)
password required pam_cracklib.so retry=3 minlen=6 difok=3
-password required pam_unix.so use_authtok nullok md5
+password required pam_unix.so use_authtok nullok yescrypt
session required pam_unix.so
</programlisting>
</para>