How to disable user list and guest user login in Ubuntu 16.04 LTS

To disable the user list and guest user login in Ubuntu 16.04 LTS login screen, open a terminal window and do the following:

$ cd /etc/lightdm <enter>
$ sudo mkdir lightdm.conf.d <enter>
$ sudo cd lightdm.conf.d <enter>
$ sudo mousepad 50-config.conf <enter>

Enter the text below into the file.

[SeatDefaults]
greeter-hide-users=true
greeter-show-manual-login=true
allow-guest=false

Save the file.

Reboot the computer. The login screen would not not display the users on the system. It will also deny guest login.

Comments are closed.

January 2018
M T W T F S S
« Aug    
1234567
891011121314
15161718192021
22232425262728
293031