소스 검색

Use SHA-512 to hash passwords. Fixes #2814.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9447 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 14 년 전
부모
커밋
81313bf207
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      chapter01/changelog.xml
  2. 1 1
      chapter06/shadow.xml

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
       <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>

+ 1 - 1
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>