mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update ADconnection.sh
This commit is contained in:
parent
45bfe80234
commit
5895801c87
@ -57,6 +57,7 @@ exit' > tmp.sh
|
||||
xterm -e "sudo sh tmp.sh"
|
||||
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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user