mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +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
|
||||
echo checking sudoers file.. "${RED_TEXT}"FAIL"${END}"
|
||||
fi
|
||||
if [ $states ='12' ]
|
||||
if [ $states =12 ]
|
||||
then
|
||||
echo "Sudoers not configured... skipping"
|
||||
else
|
||||
@ -219,7 +219,7 @@ echo Checking PAM configuration.. "${INTRO_TEXT}"OK"${END}"
|
||||
else
|
||||
echo Checking PAM configuration.. "${RED_TEXT}"FAIL"${END}"
|
||||
fi
|
||||
if [ $states = '1' ]
|
||||
if [ $states = 1 ]
|
||||
then
|
||||
echo "Disabled SSH login.group.allowed"
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user