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
d50e77563c
commit
3196c8b3d2
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user