diff --git a/ADconnection.sh b/ADconnection.sh index 2f790c6..d0453cb 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -130,7 +130,7 @@ sudo echo "administrator" | sudo tee -a /etc/ssh/login.group.allowed sudo echo "$NetBios"'\'"$myhost""sudoers" | sudo tee -a /etc/ssh/login.group.allowed sudo echo "$NetBios"'\'"domain^admins" | sudo tee -a /etc/ssh/login.group.allowed sudo echo "Cheking if there is any previous configuration" -if [ -f /etc/sudoers.d/sudoers] +if [ -f /etc/sudoers.d/sudoers ] then echo "Sudoersfile seems already to be modified.. skipping...." else