From 59e43e93e6fff539779ba174bca63ce7fb164ffc Mon Sep 17 00:00:00 2001 From: PierreGode <8579922+PierreGode@users.noreply.github.com> Date: Fri, 3 Apr 2020 11:10:35 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 369de85..ac83caa 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1080,7 +1080,7 @@ else echo "Checking PAM configuration.. ${RED_TEXT}FAIL${END}" fi cauth=$( grep required /etc/pam.d/common-auth | grep onerr | grep allow | cut -d '=' -f4 | cut -d 'f' -f1 | head -1 ) -if [ "$cauth" = "allow" ] < /dev/null > /dev/null 2>&1 +if [ $cauth = "allow" ] < /dev/null > /dev/null 2>&1 then echo "Checking PAM auth configuration..${INTRO_TEXT}OK${END}" else