Disable the Ubuntu 11.10 Guest Session

I am a bit of a security wonk and strongly dislike guest accounts so one of the things I have researched since loading up Ubuntu 11.10 is how to disable the guest account available on the login screen. In the past, with GDM, all that had to be done is an uninstall of gdm-guest-session. With Ubuntu 11.10 switching to lightDM this has changed. To remove the guest login option you have to modify /etc/lightdm/lightdm.conf.
original

[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu

modified

[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
allow-guest=false

You can either reboot or restart the service.

sudo restart lightdm

Please note that restarting lightdm will end your session so do not do this with applications running. This will now remove the guest login as an option from the login screen. I hope this helps out anyone, who like me, is concerned about restricting access to their computer.

Advertisements

About hackmyass
free the internet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: