From 2ec4b60f359413c6f0163b9e72108c24460573e7 Mon Sep 17 00:00:00 2001 From: Zack Winkles Date: Mon, 7 Jun 2004 19:16:21 +0000 Subject: Normalized usage of sed throughout the book git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3762 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/shadow.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chapter06/shadow.xml') 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): -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 +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 Move some misplaced symlinks/programs to their proper locations: -- cgit v1.2.3-54-g00ecf