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
67e2bd933c
commit
bd6d571427
@ -50,12 +50,10 @@ fi
|
||||
echo "Please enter user to add (user without @server.server)"
|
||||
read UseR
|
||||
sudo echo "Configuratig files"
|
||||
echo 'sudo su
|
||||
exec sudo -u root /bin/sh - <<eof
|
||||
sed -i -e 's/GROUPHOMES=no/GROUPHOMES=yes/g' /etc/adduser.conf
|
||||
sed -i -e 's/use_fully_qualified_names = True/use_fully_qualified_names = False/g' /etc/sssd/sssd.conf
|
||||
exit
|
||||
exit' > tmp.sh
|
||||
xterm -e "sudo sh tmp.sh"
|
||||
eof
|
||||
sudo systemctl enable sssd
|
||||
sudo systemctl start sssd
|
||||
sudo rm tmp.sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user