Howto:Disable guest account from Login Screen | Ubuntu 12.04 LTS Precise Pangolin | Ubuntu 11.10 Oneiric Ocelot
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
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:-
For Example your /etc/lightdm/lightdm.conf should look like below :-
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