From 58dba39b82fefc62f56aec506dad03f24671fe53 Mon Sep 17 00:00:00 2001 From: rchikov Date: Tue, 20 Jun 2023 08:12:09 +0200 Subject: [PATCH] A small correction in bash part of the rule --- .../root_logins/use_pam_wheel_group_for_su/bash/shared.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux_os/guide/system/accounts/accounts-restrictions/root_logins/use_pam_wheel_group_for_su/bash/shared.sh b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/use_pam_wheel_group_for_su/bash/shared.sh index 1a4fb89e1d66..50440f62cb83 100644 --- a/linux_os/guide/system/accounts/accounts-restrictions/root_logins/use_pam_wheel_group_for_su/bash/shared.sh +++ b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/use_pam_wheel_group_for_su/bash/shared.sh @@ -3,7 +3,7 @@ PAM_CONF=/etc/pam.d/su -if [ $(getent group ${var_pam_wheel_group_for_su})]; then +if [ $(getent group ${var_pam_wheel_group_for_su}) ]; then # group exists groupdel -f ${var_pam_wheel_group_for_su} fi