Disable Guest Account in Ubuntu 12.04 Precise Pangolin

By Umair Sunday, May 13, 2012




By default ubuntu 12.04 comes with guest account.You can disable this account using the following procedure.Guest account is a paswordless account which allow users to get access to Ubuntu machine

ubuntu guest

Open /etc/lightdm/lightdm.conf file from your terminal using the following command
sudo gedit /etc/lightdm/lightdm.conf
Add the following line
allow-guest=false
Save and exit the file

After adding the above line you should see similar to the following in lightdm.conf file
[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
allow-guest=false


Finally you have to restart lightdm using the following command from your terminal
sudo restart lightdm
Enjoy


Umair

Bio: There is a lot information about Linux Geeks on the Internet.

3 comments to ''Disable Guest Account in Ubuntu 12.04 Precise Pangolin"

ADD COMMENT
  1. Very helpful, thanks a lot!

    ReplyDelete
  2. have an issue with permission. Do i need a payed account?

    ReplyDelete
  3. @Lewis
    What kind of permission?
    And what kind of payed account, there is no payed account for Linux. Everything is free.

    ReplyDelete