Guest account is default account that exist in Ubuntu which used for additional user which is not registered in the system, Guest account have an access to the desktop, using all application that installed, but having limited access to the system setting. if you feel guest account might not needed may you can disable it, do as follow :

all you need to disable guest account is edit lightdm.conf that located at /etc/lightdm/lightdm.conf , edit lightdm.conf via vi/vim or gedit as illustrated below  (type following command at terminal) :
  • sudo gedit /etc/lightdm/lightdm.conf
in my computer, lightdm.conf is looks like the following :
[SeatDefaults]
autologin-guest=false
autologin-user=
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=unity-greeter
user-session=ubuntu

add following line in the bottom of lightdm.conf :
  • allow-guest=false
so it looks like this :
[SeatDefaults]
autologin-guest=false
autologin-user=
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=unity-greeter
user-session=ubuntu
allow-guest=false
restart the lightdm, do following at terminal
  • sudo restart lightdm
yes that's how to disable guest account in Ubuntu..


, ,