Changeset fc44790


Ignore:
Timestamp:
Aug 2, 2014, 1:30:51 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
237a20a
Parents:
b2fdfa1
git-author:
Chris Staub <chris@…> (08/02/14 01:28:15)
git-committer:
Chris Staub <chris@…> (08/02/14 01:30:51)
Message:

Consolidated cracklib notes

Conflicts:

BOOK/final-system/common/shadow.xml
BOOK/final-system/multilib/shadow.xml

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/shadow.xml

    rb2fdfa1 rfc44790  
    2929      <para>If you would like to enforce the use of strong passwords,
    3030      refer to <ulink url="&cblfs-root;index.php/Cracklib"/>
    31       for installing Cracklib prior to building Shadow. Then add
    32       <parameter>--with-libcrack</parameter> to the <command>configure</command>
    33       command below.</para>
     31      for installing Cracklib prior to building Shadow. After Cracklib is
     32      installed, execute this <command>sed</command> in Shadow's source
     33      directory to correct the path to the Cracklib dictionary:</para>
     34
     35<screen role="nodump"><userinput>sed -i 's@\(DICTPATH.\).*@\1/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
     36
     37      <para>Finally, add <parameter>--with-libcrack</parameter> to the
     38      <command>configure</command> command below.</para>
     39
    3440    </note>
    3541
     
    8793    -e 's@/var/spool/mail@/var/mail@'</userinput></screen>
    8894
    89     <note os="t">
    90       <para>If you built Shadow with Cracklib support, execute
    91       this <command>sed</command> to correct the path to the Cracklib
    92       dictionary:</para>
    93 
    94 <screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' /etc/login.defs</userinput></screen>
    95     </note>
    96 
    97     <para os="u">Move a misplaced program to its proper location:</para>
    98 
    99 <screen os="v"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
     95    <para os="t">Move a misplaced program to its proper location:</para>
     96
     97<screen os="u"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
    10098
    10199  </sect2>
  • BOOK/final-system/multilib/shadow.xml

    rb2fdfa1 rfc44790  
    8888    xpointer="xpointer(//*[@os='u'])"/>
    8989
    90     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    91     href="../common/shadow.xml"
    92     xpointer="xpointer(//*[@os='v'])"/>
    93 
    9490  </sect2>
    9591
Note: See TracChangeset for help on using the changeset viewer.