Disable guest account in ubuntu 14.10

To disable the guest account simply change the file /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf and add the last line:

Don’t forget that you have to restart lightdm before changes take effect.