mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
54f94f2234
commit
7256aaa276
@ -201,10 +201,10 @@ fi
|
|||||||
logintrue=$( cat /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf | grep -i -m1 login )
|
logintrue=$( cat /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf | grep -i -m1 login )
|
||||||
if [ "$logintrue" = "greeter-show-manual-login=true" ]
|
if [ "$logintrue" = "greeter-show-manual-login=true" ]
|
||||||
then
|
then
|
||||||
|
echo "50-ubuntu.conf is alresdy configured.. skipping"
|
||||||
|
else
|
||||||
sudo sh -c "echo 'greeter-show-manual-login=true' | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"
|
sudo sh -c "echo 'greeter-show-manual-login=true' | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"
|
||||||
sudo sh -c "echo 'allow-guest=false' | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"
|
sudo sh -c "echo 'allow-guest=false' | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"
|
||||||
else
|
|
||||||
echo "50-ubuntu.conf is alresdy onfigured.. skipping"
|
|
||||||
fi
|
fi
|
||||||
clear
|
clear
|
||||||
echo "If you have several domain controllers worldwide it is recomended to set your DC"
|
echo "If you have several domain controllers worldwide it is recomended to set your DC"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user