diff options
-rw-r--r-- | chapter01/changelog.xml | 11 | ||||
-rw-r--r-- | chapter06/shadow.xml | 10 |
2 files changed, 16 insertions, 5 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 68fb57314..728a85686 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,17 @@ --> <listitem> + <para>May 22, 2006</para> + <itemizedlist> + <listitem> + <para>[jim] - Fixed a constant support question asked in #IRC and + the mailing lists about shadow's sed additional command + for cracklib. Making it a not with a complete sed command.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>May 15, 2006</para> <itemizedlist> <listitem> diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 779b5d6bf..626335673 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -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> |