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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s