aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/shadow.xml
diff options
context:
space:
mode:
authorThomas Trepl (Moody) <thomas@linuxfromscratch.org>2021-07-26 22:06:18 +0200
committerThomas Trepl (Moody) <thomas@linuxfromscratch.org>2021-07-26 22:14:09 +0200
commit6d6f24202935a5e9ae663cc2a1a79b718f16c9da (patch)
tree4d2a5604d2119270bc735248bec932b1a5c929ba /chapter08/shadow.xml
parentde28837402798daa420ad065fb9155d308a7767e (diff)
Fix a programming error in shadow-4.9
Diffstat (limited to 'chapter08/shadow.xml')
-rw-r--r--chapter08/shadow.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml
index 9aa196421..bd2651b8d 100644
--- a/chapter08/shadow.xml
+++ b/chapter08/shadow.xml
@@ -95,6 +95,10 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
<screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen>
-->
+ <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>
+
<para>Prepare Shadow for compilation:</para>
<screen><userinput remap="configure">touch /usr/bin/passwd