When I login after boot, or maybe after a idle time, I am presented with a login box. If I enter the incorrect password, it takes a longer time to verify, and give the error message, than entering the correct password, and getting logged in. Why is that?

link|improve this question

feedback

1 Answer

up vote 4 down vote accepted

Probably because this makes brute-force guessing passwords more time-consuming and therefore less likely. See also 1

link|improve this answer
This is correct. The login screen (GDM) communicates with Linux-PAM to check user credentials. If the user fails to authenticate, Linux-PAM waits a random amount of time before sending its response back to GDM. – ændrük Mar 1 '11 at 19:59
feedback

Your Answer

 
or
required, but never shown

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