So I work at a university using active directory, and in my office there are a few computers that I've set up, in Ubuntu 11.10, to log as an AD user.
In order to log in a person just needs to use the "other" user at login and use their university ID and Password. I've installed 12.04LTS on my personal computer, and I see that the "other" option no longer exists.
If I upgrade those computers who need AD login capabilities, will they have them?
24 Answers
Edit /etc/lightdm/lightdm.conf and add the following line :
greeter-show-manual-login=trueThen restart lightdm :
sudo service lightdm restart 3 You can also hide all users so that you enter whatever name you want by editing /etc/lightdm/lightdm.conf adding :
greeter-hide-users=trueThis is particularly useful if you use NIS or LDAP services.
For Ubuntu 16.04 configuration for greeters is taken from the configuration files in the following hierarchy:
- /usr/share/lightdm/lightdm.conf.d/*.conf
- /etc/lightdm/lightdm.conf.d/*.conf
- /etc/lightdm/lightdm.conf
The place to add your configuration changes is the second in the list, provided that there is nothing in the last list file to override the values you wish to change.
So, creating a file /etc/lightdm/lightdm.conf.d/50-myconfig.conf and putting in it
[Seat:*]
greeter-hide-users=false
greeter-show-manual-login=true
allow-guest=false- First entry hides the list of login users
- Second entry allows manual user login
- Third entry disables the guest login account
NOTE: For Ubuntu versions prior to 15.10 replace [Seat:*] with [SeatDefaults]
When changes have been made, restart the lightdm service to have the changes applied.
sudo service lightdm restartor
sudo systemctl restart lightdm.serviceFor more information see: Ubuntu LightDM Wiki
From the Ubuntu wiki:
LightDM configuration is governed by the lightdm.conf file, however it's not suppose to be directly edited, instead use:
lightdm-set-defaults
I found the file at /usr/lib/lightdm/lightdm-set-defaults
At the terminal you would enter:
sudo /usr/lib/lightdm/lightdm-set-defaults -m true
Edit: While this was true temporarily for 12.04, it seems to not be true for any newer release, and editing conf files as otherwise suggested is the correct solution.
3