|
@@ -126,17 +126,17 @@ convert-mans UTF-8 ISO-8859-9 man/tr/*.?</userinput></screen>
|
|
|
<primary sortas="e-/etc/login.defs">/etc/login.defs</primary>
|
|
|
</indexterm>
|
|
|
|
|
|
+<screen><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
|
|
|
+ -e 's@/var/spool/mail@/var/mail@' \
|
|
|
+ etc/login.defs > /etc/login.defs</userinput></screen>
|
|
|
+
|
|
|
<note>
|
|
|
<para>If you built Shadow with Cracklib support, insert the following into
|
|
|
the <command>sed</command> given below:</para>
|
|
|
|
|
|
-<screen><literal>-e 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@'</literal></screen>
|
|
|
+<screen><literal>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' /etc/login.defs</literal></screen>
|
|
|
</note>
|
|
|
|
|
|
-<screen><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
|
|
|
- -e 's@/var/spool/mail@/var/mail@' \
|
|
|
- etc/login.defs > /etc/login.defs</userinput></screen>
|
|
|
-
|
|
|
<para>Move a misplaced program to its proper location:</para>
|
|
|
|
|
|
<screen><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
|