diff options
author | Jim Gifford <jim@linuxfromscratch.org> | 2006-05-22 08:10:11 +0000 |
---|---|---|
committer | Jim Gifford <jim@linuxfromscratch.org> | 2006-05-22 08:10:11 +0000 |
commit | f2e18a89ecd929162312220471e693eed6265897 (patch) | |
tree | a87c23249d7247263c249f36322b39d6c8ca53f8 /chapter06 | |
parent | afe7f76a0ea665197bef8ec5e6a91cd0336df913 (diff) |
r7702@server: jim | 2006-05-22 00:56:58 -0700
Fixed a support issue with Shadow's cracklib sed command.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7625 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/shadow.xml | 10 |
1 files changed, 5 insertions, 5 deletions
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> |