From 790ae11b65956452010fc2307f45d2fa04721884 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Wed, 22 Feb 2017 10:30:37 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 54dfec9..f46f4a0 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -208,7 +208,6 @@ sudo echo "Verifying the setup" sudo systemctl enable sssd sudo systemctl start sssd echo "session required pam_mkhomedir.so skel=/etc/skel/ umask=0022" >> /etc/pam.d/common-session -echo "auth required pam_listfile.so onerr=fail item=group sense=allow file=/etc/ssh/login.group.allowed" >> /etc/pam.d/common-auth sudo echo "administrator ALL=(ALL:ALL) ALL" >> /etc/sudoers.d/sudoers sudo echo "%domain^admins ALL=(ALL:ALL) ALL" >> /etc/sudoers.d/sudoers sudo echo "%$myhost""sudoers ALL=(ALL:ALL) ALL" >> /etc/sudoers.d/sudoers