Chances are you’re the only one who’s going to be using your computer and for anyone to login as a guest user is not likely. The guest account is a built-in account that’s also available in Ubuntu 13.04 Raring Ringtail to give user temporary access to your machine without putting your information at risk.
That’s because anyone who uses the guest account to sign in has no rights to modify the machine or perform significant change to it.
As soon as the guest user logs off, all changes are restored to what is used to be.
This brief tutorial is going to show you how to remove the guest session or user from the logon screen so no one will use it since you’re the only one who needs access to your machine.
To get started with removing the guest session from the logon screen in Ubuntu, press Ctrl – Alt – T on your keyboard to open the terminal or console. When it opens, run the commands below to disable the guest session.
sudo /usr/lib/lightdm/lightdm-set-defaults -l false
To undo it or re-enable the guest account, run the commands below.sudo /usr/lib/lightdm/lightdm-set-defaults -l true
Or run the commands below to open lightdm.conf filegksudo gedit /etc/lightdm/lightdm.conf
Then change the line highlighted below to false and save the file.allow-guest=false
When you’re done, restart your computer or run the commands below to restart lightdm.sudo restart lightdm