Linux Magazine #1 2023: Aan de slag met guestaccounts
- March 14, 2023
- 0
Listing 1:
sudo cp /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf /etc/lightdm/lightdm.conf.d/50-disable-guest.conf sudo nano /etc/lightdm/lightdm.conf.d/50-disable-guest.conf sudo ln -s /home/guestusersettings/ /etc/guest-session/skel echo touch "\$HOME/.skip-guest-warning-dialog" | sudo tee --append /etc/guest-session/prefs.sh sudo cp /usr/share/lightdm/lightdm.conf.d/60-zorin-os-lite.conf /etc/lightdm/lightdm.conf.d/60-zorin-os-lite.conf echo "autologin-guest=true" | sudo tee --append /etc/lightdm/lightdm.conf.d/60-zorin-os-lite.conf sudo cp /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf echo "greeter-show-manual-login=true" | sudo tee --append /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
Listing 2
sudo ln -s /home/guestusersettings/ /etc/guest-session/skel echo touch "\$HOME/.skip-guest-warning-dialog" | sudo tee --append /etc/guest-session/prefs.sh sudo sed -i -e '$a\' /etc/lightdm/lightdm.conf.d/70-linuxmint.conf echo "autologin-guest=true" | sudo tee --append /etc/lightdm/lightdm.conf.d/70-linuxmint.conf
Listing 3
sudo apt install lightdm sudo cp /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf /etc/lightdm/lightdm.conf.d/50-disable-guest.conf sudo nano /etc/lightdm/lightdm.conf.d/50-disable-guest.conf sudo ln -s /home/guestusersettings/ /etc/guest-session/skel echo touch "\$HOME/.skip-guest-warning-dialog" | sudo tee --append /etc/guest-session/prefs.sh sudo cp /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf /etc/lightdm/lightdm.conf.d/50-ubuntu.conf echo "autologin-guest=true" | sudo tee --append /etc/lightdm/lightdm.conf.d/50-ubuntu.conf sudo cp /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf echo "greeter-show-manual-login=true" | sudo tee --append /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf sudo snap remove firefox sudo apt install curl curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | sudo -E bash -s install deb-get sudo deb-get install firefox-esr
Listing 4
sudo cp /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf /etc/lightdm/lightdm.conf.d/50-disable-guest.conf sudo nano /etc/lightdm/lightdm.conf.d/50-disable-guest.conf sudo ln -s /home/guestusersettings/ /etc/guest-session/skel echo touch "\$HOME/.skip-guest-warning-dialog" | sudo tee --append /etc/guest-session/prefs.sh sudo cp /usr/share/lightdm/lightdm.conf.d/60-xubuntu.conf /etc/lightdm/lightdm.conf.d/60-xubuntu.conf echo "autologin-guest=true" | sudo tee --append /etc/lightdm/lightdm.conf.d/60-xubuntu.conf sudo cp /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf echo "greeter-show-manual-login=true" | sudo tee --append /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf sudo snap remove firefox sudo apt install curl curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | sudo -E bash -s install deb-get sudo deb-get install firefox-esr