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) :
in my computer, lightdm.conf is looks like the following :
- sudo gedit /etc/lightdm/lightdm.conf
[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 :
so it looks like this :
- allow-guest=false
[SeatDefaults]restart the lightdm, do following at terminal
autologin-guest=false
autologin-user=
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=unity-greeter
user-session=ubuntu
allow-guest=false
yes that's how to disable guest account in Ubuntu..
- sudo restart lightdm