aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter06/shadow.xml2
2 files changed, 5 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 36dae3621..1e3b05a71 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,10 @@
<para>2011-01-23</para>
<itemizedlist>
<listitem>
+ <para>[matthew] Change password hashing from MD5 to SHA-512. Fixes
+ <ulink url="&lfs-ticket-root;2814">#2814</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[matthew] Upgrade to File-5.05. Fixes
<ulink url="&lfs-ticket-root;2821">#2821</ulink>.</para>
</listitem>
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>