diff options
author | Thomas Trepl (Moody) <thomas@linuxfromscratch.org> | 2021-07-26 22:06:18 +0200 |
---|---|---|
committer | Thomas Trepl (Moody) <thomas@linuxfromscratch.org> | 2021-07-26 22:14:09 +0200 |
commit | 6d6f24202935a5e9ae663cc2a1a79b718f16c9da (patch) | |
tree | 4d2a5604d2119270bc735248bec932b1a5c929ba | |
parent | de28837402798daa420ad065fb9155d308a7767e (diff) |
Fix a programming error in shadow-4.9
-rw-r--r-- | chapter01/changelog.xml | 9 | ||||
-rw-r--r-- | chapter08/shadow.xml | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 8a3807262..1b17760f2 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -44,6 +44,15 @@ --> <listitem> + <para>2021-07-26</para> + <itemizedlist> + <listitem> + <para>[thomas] - Fix a programming error in shadow-4.9</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2021-07-25</para> <itemizedlist> <listitem> 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_&/" -i libmisc/salt.c</userinput></screen> + <para>Prepare Shadow for compilation:</para> <screen><userinput remap="configure">touch /usr/bin/passwd |