Update ADconnection.sh

This commit is contained in:
PierreGoude 2016-12-13 14:29:03 +01:00 committed by GitHub
parent 98e91fa707
commit 1f458b47c7

View File

@ -73,7 +73,6 @@ sudo echo "%DOMAIN\ admins@$DOMAIN ALL=(ALL) ALL" >> /etc/sudoers.d/domain_admin
echo "Check that the group is correct" echo "Check that the group is correct"
echo "in Sudoers file..." echo "in Sudoers file..."
sudo cat /etc/sudoers | grep $myhost sudo cat /etc/sudoers | grep $myhost
sudo cat /etc/sudoers | grep $Group
echo "in SSH allow file..." echo "in SSH allow file..."
sudo cat /etc/ssh/login.group.allowed | grep $myhost sudo cat /etc/ssh/login.group.allowed | grep $myhost
echo " if this is wrong DO NOT REBOOT and contact sysadmin" echo " if this is wrong DO NOT REBOOT and contact sysadmin"