diff --git a/ADconnection.sh b/ADconnection.sh index d0ce213..025d7f9 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -78,7 +78,7 @@ echo "in SSH allow file..." sudo cat /etc/ssh/login.group.allowed | grep $myhost echo " if this is wrong DO NOT REBOOT and contact sysadmin" exec sudo -u root /bin/sh - < /etc/sssd/sssd.conf +echo "default-home = /home/%U" >> /etc/sssd/sssd.conf sed -i -e 's/use_fully_qualified_names = True/use_fully_qualified_names = False/g' /etc/sssd/sssd.conf eof }