Search This Blog

Wednesday 11 September 2013

HOW TO DISABLE GUEST ACCOUNT IN UBUNTU

By default ubuntu 12.04,13.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 13.04 Raring Ringtail has been released, Ubuntu team has done really good job on 13.04. This Ubuntu release is much better than last release. Unity is much faster, responsive and a lot of things is better in 13.04. So after a-lot of work today bring this article for you. After applying these tweaks you can get more better experience with new Ubuntu. After these tweaks we can say your Ubuntu is ready to use, Every tweak is tested . So lets start tweak to your Ubuntu 13.04.


Before going further lets talk about guest user accounts and why or why not you should disable a guest account. How do you feel when someone asks to use your personal computer? Are you skeptical of what that person might do with your computer, your personal data and settings. This is where guest user account comes in picture. It gives anyone temporary access to your computer without putting your digital data at risk. A guest user can access internet but cannot change settings. As soon as the guest user logs off, your computer is restored back to the state it was in, largely. Moreover, it does not require any password to login. Talking of passwords, you should know that it is really easy to hack Ubuntu admin passwords.

But how often does guest accounts come in use? For me, I am the only user of my laptop and the guest session have never been used in my system. Then why should I keep it? I would rather prefer to disable the guest account from Ubuntu and prevent it from showing in login screen.

solution 1:

Open the terminal (Ctrl+Alt+T) and use the following command to disable the guest session:
 
sudo /usr/lib/lightdm/lightdm-set-defaults -l false

To re-enable guest session in Ubuntu 13.04, use the same command but with option true this time.
 
sudo /usr/lib/lightdm/lightdm-set-defaults -l true
 
 
solution 2:


Open the terminal (Ctrl+Alt+T) and use the following command to disable the guest session:

sudo gedit /etc/lightdm/lightdm.conf

Change the following line to false in the file and save it:

allow-guest=false 
 
Disable Guest Session Account in Ubuntu 13.04 
 
Now restart the system and your guest account gets disappeared .

solution 3:

The GUEST account can be graphically disabled by using UBUNTU TWEAK application. If  you don,t have ubuntu tweak installed then install it by typing the below command in terminal.

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

after installing UBUNTU TWEAK, open Ubuntu tweak and after application has opened just click on TWEAKS tab, and in that you can see the GUEST account, by sliding  the button beside the guest account you can disable/enable  guest account.

 
 
 




















this is how you can  disable guest account in Ubuntu 13.10,13.04, 12.04.
By disabling the guest account the security access to the system grows.

In the same way if you want to disable remote login too, then just
Open the terminal (Ctrl+Alt+T) and use the following command to disable the remote login session: 
sudo gedit /etc/lightdm/lightdm.conf
 



Disable Guest Session Account in Ubuntu 13.04 
 add an extra line at the last line of file

 greeter-show-remote-login=false

 now save the file and restart to see the effect.







 
 
 
 

No comments:

Post a Comment