From 6d6f24202935a5e9ae663cc2a1a79b718f16c9da Mon Sep 17 00:00:00 2001 From: "Thomas Trepl (Moody)" Date: Mon, 26 Jul 2021 22:06:18 +0200 Subject: [PATCH] Fix a programming error in shadow-4.9 --- chapter01/changelog.xml | 9 +++++++++ chapter08/shadow.xml | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 8a3807262..1b17760f2 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,15 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2021-07-26 + + + [thomas] - Fix a programming error in shadow-4.9 + + + + 2021-07-25 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 / /' {} \;sed -i 's/1000/999/' etc/useradd --> + Fix a simple programming error by modifying a file with following command: + +sed -e "224s/rounds = SHA_ROUNDS_DEFAULT/min_&/" -i libmisc/salt.c + Prepare Shadow for compilation: touch /usr/bin/passwd