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
0 comments:
Post a Comment