Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-06-28 10:42:35 +02:00 committed by GitHub
parent 9e27da9a4b
commit 758bd10fa9

View File

@ -150,7 +150,7 @@ sudo echo "root" | sudo tee -a /etc/ssh/login.group.allowed
echo "enabled SSH-allow" echo "enabled SSH-allow"
fi;; fi;;
[Nn]* ) echo "Disabled SSH login.group.allowed" [Nn]* ) echo "Disabled SSH login.group.allowed"
states=$( echo 1 );; states1=$( echo 12 );;
* ) echo "Please answer yes or no.";; * ) echo "Please answer yes or no.";;
esac esac
echo "" echo ""
@ -225,7 +225,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 [ $states1 = 12 ]
then then
echo "Disabled SSH login.group.allowed" echo "Disabled SSH login.group.allowed"
else else