Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In ubuntu 12.04 after last updates, the system auto select the last username enter in machine and only ask for password.

How i can change that? I want it ask for username and passwork like before updates.

share|improve this question
up vote 0 down vote accepted

Edit /etc/lightdm/lightdm.conf and add the following lines:


Then restart lightdm:

sudo service lightdm restart
share|improve this answer
I dont use lightdm, i use mdm. I open /etc/mdm/mdm.conf and edit the following line: SelectLastLogin=false Anyway, thanks a lot. – marcofnmartins Nov 12 '13 at 13:08
Ok, I thought it was a default 12.04 installation^^ – chaos Nov 12 '13 at 13:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.