thrullcom

How to disable guest account in Ubuntu 13.10

In ubuntu 13.10 there is no /etc/lightdm/lightdm.conf file.

To disable guest account You have to edit /etc/lightdm/lightdm.conf.d/10-ubuntu.conf file:
using terminal: sudo vim /etc/lightdm/lightdm.conf.d/10-ubuntu.conf
or graphical editor:
gksudo gedit /etc/lightdm/lightdm.conf.d/10-ubuntu.conf
Add line allow-guest=false
[SeatDefaults] user-session=ubuntu # add this line to disable guest allow-guest=false
After that restart Ubuntu to apply changes.