From 84e41f482b43bcaa3ffeb9ccdde627b4f9eb02e3 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Tue, 31 Jan 2017 10:57:04 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 3ad5269..4a10b3d 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -75,10 +75,10 @@ if [ $? -ne 0 ]; then echo "AD join failed. Please run 'journalctl -xn' to determine why." exit 1 fi +sudo echo "#######################" sudo echo "Configuratig files" sudo systemctl enable sssd sudo systemctl start sssd -sudo rm tmp.sh 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 sh -c "echo 'greeter-show-manual-login=true' >> /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"