From 7d0c65be83331520ad1ba690119b9bd839fa1b5f Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Wed, 22 Feb 2017 10:58:19 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index f46f4a0..b12fff1 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -239,13 +239,8 @@ echo Checking PAM configuration.. "${INTRO_TEXT}"OK"${END}" else echo Checking PAM configuration.. "${RED_TEXT}"FAIL"${END}" fi -cauth=$(cat /etc/pam.d/common-auth | grep required | grep onerr | grep allow | cut -d '=' -f4 | cut -d 'f' -f1) -if [ $cauth = allow ] -then -echo Checking PAM auth configuration.. "${INTRO_TEXT}"OK"${END}" -else -echo Checking PAM auth configuration.. "${RED_TEXT}"FAIL"${END}" -fi +echo "${INTRO_TEXT}Please not the it can take up to 5 minutes until AD sincronizes and you can log in..${INTRO_TEXT}" +echo "${INTRO_TEXT}If you sudoers grou in not hostname but a custom group pleace replace hostname with correct groupname in /et/sudoers.d/sudores${INTRO_TEXT}" exec sudo -u root /bin/sh - <