Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-06-14 09:37:00 +02:00 committed by GitHub
parent 96e68fa000
commit c87db79065

View File

@ -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