Howto:Disable guest account from Login Screen | Ubuntu 12.04 LTS Precise Pangolin | Ubuntu 11.10 Oneiric Ocelot

Hello Guys,

Using Ubuntu 11.10 Oneiric Ocelot is wonderful experience from few days. Ubuntu 11.10 has wonderful GUI and it seems stable to me as of now.

The SAME Trick work for Ubuntu 12.04 LTS Precise Pangolin too.

I don’t want anybody should login without having Login credentials, Why should i allow login to guests to My Computer, Atleast i don’t want and i hope most of the people don’t want. So those who wants to disable guest account, This post is your friend.

One thing i have noticed from the first day in Ubuntu 11.10 Oneiric Ocelot is that there is guest account was enabled and i have disabled it on the same day but not get enough time to write article/howto on that. So Today I am posting how-to for those who wants to disable guest login.

Please perform follwing steps to disable guest account on Ubuntu 11.10 Oneiric Ocelot :-

###  DO IT AT YOUR OWN RISK. ###

1) You have to be root to perform this how-to.
If you are not root then be root by executing following command :-
ubuntu11.10@tejas-barot-linux-ahmedabad:~$ su –

2) First of all Please take backup of original file, execute following command :-
root@tejas-barot-linux-ahmedabad:~# cp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.orig

3) Execute Following command :-

root@tejas-barot-linux-ahmedabad:~#/usr/lib/lightdm/lightdm-set-defaults -l false
root@tejas-barot-linux-ahmedabad:~#/etc/init.d/lightdm restart

3) IF Above Command doesn’t work than OPTIONAL METHOD :-

Now Open /etc/lightdm/lightdm.conf, Execute Following command :-
root@tejas-barot-linux-ahmedabad:~# vi /etc/lightdm/lightdm.conf

4)Now Please enter following line to SeatDefaults Selection:-

allow-guest=false

For Example your /etc/lightdm/lightdm.conf should look like below :-
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
allow-guest=false

Now Save and Exit from file. ( ESC and :wq )

5) Now reboot Ubuntu 12.04 LTS Precise Pangolin/Ubuntu 11.10 Oneiric Ocelot, You will not able to see guest login.

Note :- If you are using Ubuntu with GDM ( Which is previously default ) then you should try to disable guest account by removing gdm-guest-session

I hope this will helps you all.

If this works for your then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

Enjoy Ubuntu 12.04 LTS Precise Pangolin :) Enjoy Ubuntu 11.10 Oneiric Ocelot :) Enjoy Ubuntu  :) Enjoy Open Source :) Enjoy Linux :)

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

####

Tejas Barot’s Latest Linux Quote :-

“Now-a-days, Life and than after Time is Most Important, Then why to invest both in WinowsZ and Viruses ??? Invest Valuable Life and Time in Linux, Use Linux and Open Source” – Tejas Barot

For More Linux quotes by Tejas Barot please visit :- http://goo.gl/w3sd9

####

Content Protection by DMCA.com

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


7 Comments »

 
  • vinay says:

    wow Super, it works for me :) Thank You :)

  • mike says:

    I don’t want to make this a my editor is better than yours. But saying that if you use any other linux or unix flavor than you really should know how to use vi just the basics. This is because vi is used on every linux, unix and bsd platform i know of. If you like another editor better than use it when you see vi but vi is the most used.

  • ubuntu-newby says:

    Very helpful, Thank you

  • Baban Gaigole says:

    nicely written… very helpful

  • ActionParsnip says:

    Why use vi, users will rather use gedit or leafpad. I suggest you change it to:

    gksudo gedit /etc/lightdm/lightdm.conf

    Remember the target audience of Ubuntu

  • Stephen Green says:

    uh oh, I can not even think too much about this, but Ubuntu 11.10 is not for me. I’m not a tablet/smartphone user , so for this not news.
    Your interest is fine for you, but, just Canonical your assuming you know whats good for others. And of course you need material to keep this going, but you should know interests here is lagging way behind.
    Linux Mint is now more popular than Ubuntu itself..
    You probably don’t agree with me and I understand that.. I pretty sure I speak for a lot folks, but Canonical is abandoning the traditional
    PC and I feel that’s a mistake.

  • [...] the original post here: Howto:Disable guest account from Login Screen | Ubuntu 11.10 … This entry was posted in 10, 11, 11.10, and, art, Article, Day, First, from, get, hat, how, [...]

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


six × = 36