How to Disable Ubuntu Guest user

Ubuntu come with a Guest user account, which allows anyone to log into machine from the login screen and no password will be asked. which is not recommended in production servers, but no worry we have solution to disable the Guest user in Ubuntu.



To Disable Guest user Just open Terminal and run the below command to edit the file:

sudo vi /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf


Add the following line and save it.

allow-guest=false


Reboot, and verify.


How to Disable Ubuntu Guest user How to Disable Ubuntu Guest user Reviewed by TecGeeks on June 19, 2016 Rating: 5

No comments:

Get Your Business Online Now


Powered by Blogger.