From e72b17528b1948ae66fd4b4ec4fc025480ed647a Mon Sep 17 00:00:00 2001 From: PierreGode Date: Wed, 4 Dec 2019 10:31:10 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 46f8b8c..4c54a12 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1289,7 +1289,7 @@ echo "Checking PAM configuration.. OK" else echo "Checking PAM configuration.. FAIL" fi -cauth=$(grep required /etc/pam.d/common-auth | grep onerr | grep allow | cut -d '=' -f4 | cut -d 'f' -f1) +cauth=$(grep required /etc/pam.d/system-auth | grep onerr | grep allow | cut -d '=' -f4 | cut -d 'f' -f1) if [ "$cauth" = "allow" ] < /dev/null > /dev/null 2>&1 then echo "Checking PAM auth configuration.. OK"