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...
/etc/lightdm/lightdm.conf.d/50-unity-greeter.conf
with root rights.allow-guest=false
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
/etc/lightdm/lightdm.conf
on 13.10 by default.
Mar 5, 2014 at 12:31
/etc/lightdm/lightdm.conf.d/
. But let's not argue about this, as long as everything works :)
Mar 5, 2014 at 12:42