Ubuntu Linux uses the LightDM greeter (the login screen you see after booting). Since I’m using an LDAP server to store my user accounts and LightDM by default only shows local users I needed to tell LightDM to give me an ‘other user’ option where I can enter a user name and password (I first checked to see if my LDAP connection work by logging in with an LDAP user from the console (tty1
).
LightDM is configured in /etc/lightdm/lightdm.conf
, but also provides command line tools to set the options. To show the ‘other user’ use:
sudo /usr/lib/lightdm/lightdm-set-defaults --show-manual-login true |
This will disable the user list. It adds the line
greeter-show-manual-login=true |
to the lightdm.conf
file.
If you only want to see the “Other” entry run:
sudo /usr/lib/lightdm/lightdm-set-defaults --hide-users true |
And lastly you can turn off guest:
sudo /usr/lib/lightdm/lightdm-set-defaults --allow-guest false |
Thanks to mfish at askubuntu.com!
Leave a Reply