1

Yes! I want to get rid of the guest account on Ubuntu. How do I do this??

I do not want this account but neither I find it in /etc/passwd and /etc/group nor within the users by navigating to system Settings -> user accounts...

0

2 Answers 2

0
  1. Open /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf with root rights.
  2. Append the line allow-guest=false
  3. Reboot.
0

I don't know if you can remove the account, but you can disable it : it won't be an option at login.

  • Edit /etc/lightdm/lightdm.conf

    sudo nano /etc/lightdm/lightdm.conf
    
  • Add the following line at the end :

    allow-guest = false
    
  • Save CTRL + O

  • Quit the text-editor CTRL + X


Or in one command-line :

echo "allow-guest = false" | sudo tee -a /etc/lightdm/lightdm.conf
6
  • This did work well on earlier versions, but does not work on 13.10. Mar 5, 2014 at 12:25
  • Well, I'm currently using this and it works. And I'm on 13.10.
    – MrVaykadji
    Mar 5, 2014 at 12:27
  • So you created the file? Well then, because there's no /etc/lightdm/lightdm.conf on 13.10 by default. Mar 5, 2014 at 12:31
  • uuuh, yeah there is one by default^^
    – MrVaykadji
    Mar 5, 2014 at 12:32
  • 1
    Very strange ^^ From 13.10, all options should be in the "numbered files" in /etc/lightdm/lightdm.conf.d/. But let's not argue about this, as long as everything works :) Mar 5, 2014 at 12:42

Not the answer you're looking for? Browse other questions tagged .