mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
9e27da9a4b
commit
758bd10fa9
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user