Update ADconnection.sh

This commit is contained in:
PierreGode 2018-11-09 10:21:55 +01:00 committed by GitHub
parent 5149e9d9f0
commit a87db447b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,9 @@ sudo echo "%DOMAIN\ admins ALL=(ALL:ALL) ALL" | sudo tee -a /etc/sudoers.d/domai
esac
fi
;;
[Nn]* ) echo "Disabled sudo rights for users on this machine"
[Nn]* )
sudo echo "administrator ALL=(ALL:ALL) ALL" | sudo tee -a /etc/sudoers.d/sudoers
echo "Disabled sudo rights for users on this machine"
echo ""
echo ""
states=$( echo 12 );;