diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-07 19:16:21 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-07 19:16:21 +0000 |
commit | 2ec4b60f359413c6f0163b9e72108c24460573e7 (patch) | |
tree | 7f8fadd44d9a25a95ce26daf9748a7f0040715ae /chapter06/shadow.xml | |
parent | 9109cd46dd8cbe0798713282e4908aeb98910a41 (diff) |
Normalized usage of sed throughout the book
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3762 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r-- | chapter06/shadow.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 0018929a2..1ce985807 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -66,9 +66,9 @@ both these things by changing the relevant configuration file while copying it to its destination (it's probably better to cut-and-paste this rather than try and type it all in):</para> -<screen><userinput>sed -e 's%#MD5_CRYPT_ENAB.no%MD5_CRYPT_ENAB yes%' \ - -e 's%/var/spool/mail%/var/mail%' \ - etc/login.defs.linux > /etc/login.defs</userinput></screen> +<screen><userinput>cp etc/login.defs.linux /etc/login.defs +sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ + -e 's@/var/spool/mail@/var/mail@' /etc/login.defs</userinput></screen> <para>Move some misplaced symlinks/programs to their proper locations:</para> |