Changeset 9d5637f5 for BOOK/final-system
- Timestamp:
- Aug 2, 2014, 1:28:15 AM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- 8517eb19
- Parents:
- 59a3524
- Location:
- BOOK/final-system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/shadow.xml
r59a3524 r9d5637f5 29 29 <para>If you would like to enforce the use of strong passwords, 30 30 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 34 40 </note> 35 41 … … 87 93 -e 's@/var/spool/mail@/var/mail@'</userinput></screen> 88 94 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> 100 101 <para os="w">The <command>login</command> program will write to 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> 98 99 <para os="v">The <command>login</command> program will write to 102 100 <filename>/var/log/lastlog</filename>, if it exists, to record the date and 103 101 time of the latest successful login for each user. This log file is not … … 105 103 create it now and give it appropriate ownership and permissions:</para> 106 104 107 <screen os=" x"><userinput>touch /var/log/lastlog105 <screen os="w"><userinput>touch /var/log/lastlog 108 106 chgrp -v utmp /var/log/lastlog 109 107 chmod -v 664 /var/log/lastlog</userinput></screen> -
BOOK/final-system/multilib/shadow.xml
r59a3524 r9d5637f5 96 96 xpointer="xpointer(//*[@os='w'])"/> 97 97 98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"99 href="../common/shadow.xml"100 xpointer="xpointer(//*[@os='x'])"/>101 102 98 </sect2> 103 99
Note:
See TracChangeset
for help on using the changeset viewer.