Here’s one quick tip that shows you how to remove / disable the guest account on the logon screen in Ubuntu 12.10 (Quantal Quetzal).
By default, Ubuntu is shipped with the guest account enabled and shown on the logon screen. If you want to remove it, continue below to learn how.
This one-line command will get the job done for you.
- Remove the guest account login in Ubuntu 12.10
To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to disable this feature.
sudo sh -c 'echo "allow-guest=false" >> /etc/lightdm/lightdm.conf'
Restart your computer and the guest account should be gone.