aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-01-23 11:54:58 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-01-23 11:54:58 +0000
commit81313bf20793582a12c94223eb3c6aa2bc046617 (patch)
treee6d1863f5a6e93492bb28be1da29834029ae9a2a /chapter06
parent6b7f1afded6f27a68239df4990b2cc1f9330f572 (diff)
Use SHA-512 to hash passwords. Fixes #2814.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9447 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/shadow.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index a983c45b2..4adb4e8a6 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -70,7 +70,7 @@ find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></scr
for user mailboxes that Shadow uses by default to the <filename
class="directory">/var/mail</filename> location used currently:</para>
-<screen><userinput remap="configure">sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD MD5@' \
+<screen><userinput remap="configure">sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \
-e 's@/var/spool/mail@/var/mail@' etc/login.defs</userinput></screen>
<note>