diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-12 04:40:07 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-12 04:40:07 +0000 |
commit | 6a156bab1b41dfcbebcf69325dff81b73a2afad7 (patch) | |
tree | 39451253ebce7058ff7282090bd572ac36dff998 /chapter08/shadow.xml | |
parent | ea7ec72fba2b9749da2c22db67152eccaef5dfb0 (diff) |
Mostly text updates in Chapter 8.
There are a couple of minor command changes.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11924 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/shadow.xml')
-rw-r--r-- | chapter08/shadow.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml index 49d2789dc..36a81d966 100644 --- a/chapter08/shadow.xml +++ b/chapter08/shadow.xml @@ -67,13 +67,15 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s for user mailboxes that Shadow uses by default to the <filename class="directory">/var/mail</filename> location used currently:</para> -<screen><userinput remap="pre">sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ - -e 's@/var/spool/mail@/var/mail@' etc/login.defs</userinput></screen> +<screen><userinput remap="pre"> +sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \ + -e 's:/var/spool/mail:/var/mail:' \ + -i etc/login.defs</userinput></screen> <note> <para>If you chose to build Shadow with Cracklib support, run the following:</para> -<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen> +<screen role="nodump"><userinput>sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs</userinput></screen> </note> <para>Make a minor change to make the first group number generated @@ -84,7 +86,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s <para>Prepare Shadow for compilation:</para> <screen><userinput remap="configure">touch /usr/bin/passwd -./configure --sysconfdir=/etc \ +./configure --sysconfdir=/etc \ --with-group-name-max-length=32</userinput></screen> <variablelist> |