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

22 lines
639 B
Diff

diff -Naur c/etc/login.defs d/etc/login.defs
--- c/etc/login.defs 2016-10-04 14:54:27.116000000 -0500
+++ d/etc/login.defs 2014-05-09 05:20:28.000000000 -0500
@@ -118,7 +118,7 @@
# Directory where mailboxes reside, _or_ name of file, relative to the
# home directory. If you _do_ define both, MAIL_DIR takes precedence.
#
-MAIL_DIR /var/mail
+MAIL_DIR /var/spool/mail
#MAIL_FILE .mail
#
@@ -317,7 +317,7 @@
# Note: If you use PAM, it is recommended to use a value consistent with
# the PAM modules configuration.
#
-ENCRYPT_METHOD SHA512
+#ENCRYPT_METHOD DES
#
# Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.