From 7ff900c20457ee42d415c4eddf3b08f1ac5e4461 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 21 Dec 2019 05:37:43 -0500 Subject: [PATCH] fix --- usr/lib/security-misc/permission-hardening | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/security-misc/permission-hardening b/usr/lib/security-misc/permission-hardening index f106765..06b7533 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -281,7 +281,7 @@ set_file_perms() { continue fi - if ! getent group_from_config | grep -q "^${group_from_config}:"; then + if ! getent group | grep -q "^${group_from_config}:"; then echo "ERROR: group_from_config '$group_from_config' does not exist!" >&2 continue fi