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.
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) 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 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 11.10 Oneiric Ocelot
沒有留言:
張貼留言