diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-16 13:54:27 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-16 13:54:27 +0000 |
commit | 4b3ac5083d33ef4ee6b1f9784e196cfb1717c8d1 (patch) | |
tree | a92ee3aa686394cfbd1f43100c103dbb3624b022 /chapter06/shadow.xml | |
parent | 9c73bc302240efec59a1dfb5d24d0fefb3412c96 (diff) |
Fix permissions of files that have been edited inline by sed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3801 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r-- | chapter06/shadow.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 1ce985807..f3adc61f8 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -68,7 +68,8 @@ and type it all in):</para> <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> + -e 's@/var/spool/mail@/var/mail@' /etc/login.defs +chmod 644 /etc/login.defs</userinput></screen> <para>Move some misplaced symlinks/programs to their proper locations:</para> |