Files
shadow/SRC/patches/03_use-sha512.patch

13 lines
399 B
Diff

diff -Naur a/etc/login.defs b/etc/login.defs
--- a/etc/login.defs 2014-05-09 05:20:28.000000000 -0500
+++ b/etc/login.defs 2016-11-02 23:27:40.712000000 -0500
@@ -317,7 +317,7 @@
# Note: If you use PAM, it is recommended to use a value consistent with
# the PAM modules configuration.
#
-#ENCRYPT_METHOD DES
+ENCRYPT_METHOD SHA512
#
# Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.