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

I noticed that a check on a good password takes ~.5 seconds. However, if you give a password that is incorrect, it takes ~3 seconds to inform the user as such. Why is this?

share|improve this question
This is probably a safeguard to limit the rate at which passwords can be guessed. Hopefully an answer can be posted confirming (or debunking) this. (Then this comment can be removed as obsolete.) – Eliah Kagan Jul 13 '12 at 19:30
This is indeed for security. @EliahKagan ,Your comment is good enough as an answer for this question. :) – drake01 Jul 13 '12 at 19:38
up vote 7 down vote accepted

Its for the security of the operating system. The arbitrary wait is to check brute-force attacks.

Duplicate Question:

share|improve this answer

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.