Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-06-28 10:29:59 +02:00 committed by GitHub
parent d50e77563c
commit 3196c8b3d2

View File

@ -200,7 +200,7 @@ echo Checking sudoers file.. "${INTRO_TEXT}"OK"${END}"
else else
echo checking sudoers file.. "${RED_TEXT}"FAIL"${END}" echo checking sudoers file.. "${RED_TEXT}"FAIL"${END}"
fi fi
if [ $states ='12' ] if [ $states =12 ]
then then
echo "Sudoers not configured... skipping" echo "Sudoers not configured... skipping"
else else
@ -219,7 +219,7 @@ echo Checking PAM configuration.. "${INTRO_TEXT}"OK"${END}"
else else
echo Checking PAM configuration.. "${RED_TEXT}"FAIL"${END}" echo Checking PAM configuration.. "${RED_TEXT}"FAIL"${END}"
fi fi
if [ $states = '1' ] if [ $states = 1 ]
then then
echo "Disabled SSH login.group.allowed" echo "Disabled SSH login.group.allowed"
else else