From 234a347e9b1345c9dcda421e7e548abf718143ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D0=B5=D0=BC=D0=B8=D0=B9?= Date: Sat, 19 Jun 2021 18:34:36 +0300 Subject: [PATCH] fixes with DESTDIR in front pw --- front_pwquality.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front_pwquality.sh b/front_pwquality.sh index 23e9940..fec0daf 100644 --- a/front_pwquality.sh +++ b/front_pwquality.sh @@ -75,5 +75,6 @@ done <<<"$var" | sed '/^$/d' | \ ;16s/^/--enforcing / ;17s/^/--enforce_for_root / ;18s/^/--local_users_only /' | tr '\n' ' ')" -source back_pwquality.sh + +source "${DESTDIR}/usr/share/linux-infosec-setupper/pw/back_pwquality.sh" _mk_pwquality_conf $var2 > "${DESTDIR}/etc/security/pwquality.conf"