aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/shadow.xml
diff options
context:
space:
mode:
authorThomas Trepl (Moody) <thomas@linuxfromscratch.org>2021-07-27 11:54:51 +0200
committerThomas Trepl (Moody) <thomas@linuxfromscratch.org>2021-07-27 11:54:51 +0200
commit5287d521e911ff762ec8b4445cecfbacb042e6c8 (patch)
treec76a78a34d1f64991899bebe86ef529680922a93 /chapter08/shadow.xml
parent6d6f24202935a5e9ae663cc2a1a79b718f16c9da (diff)
Simplify the new sed
Diffstat (limited to 'chapter08/shadow.xml')
-rw-r--r--chapter08/shadow.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml
index bd2651b8d..96ffbfdb8 100644
--- a/chapter08/shadow.xml
+++ b/chapter08/shadow.xml
@@ -97,7 +97,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
-->
<para>Fix a simple programming error by modifying a file with following command:</para>
-<screen><userinput remap="pre">sed -e "224s/rounds = SHA_ROUNDS_DEFAULT/min_&amp;/" -i libmisc/salt.c</userinput></screen>
+<screen><userinput remap="pre">sed -e "224s/rounds/min_rounds/" -i libmisc/salt.c</userinput></screen>
<para>Prepare Shadow for compilation:</para>