[SOLVED] disable guest login

Started by chagla, July 08, 2017, 06:13:31 PM

Previous topic - Next topic

chagla

I really need to disable guest session completely. One must authenticate before logging in to the system. I have USB drives plugged in and guests will be able to read files from that. NOT good.

Please help.

chagla

found a solution here : http://ubuntuhandbook.org/index.php/2016/04/remove-guest-session-ubuntu-16-04/

obtain SU,

cd /etc/lightdm/lightdm.conf.d

Then run
sh -c 'printf "[SeatDefaults]\nallow-guest=false\n" > /etc/lightdm/lightdm.conf.d/50-no-guest.conf'

it will create a new file in the directory.

restart your box and guest session will disappear.