LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Why does it take longer to check an incorrect password? (https://www.linuxquestions.org/questions/linux-general-1/why-does-it-take-longer-to-check-an-incorrect-password-576755/)

pwc101 08-13-2007 09:35 AM

Why does it take longer to check an incorrect password?
 
Sometimes, I type a bit too quickly, and get my password wrong. When I do this, it takes a second or two before my command prompt is returned to me. Yet when I type in the correct password, it logs me in more or less straight away.

Why does it take longer to verify that a password is incorrect than it does to check it's correct? It seems to me it's easier to check something is right...

Just wondering :)

AlucardZero 08-13-2007 09:42 AM

Security measure?

stress_junkie 08-13-2007 09:48 AM

As AlucardZero speculated, this is indeed a security measure. It is intended to slow down the rate that a brute force attack can take place.

pwc101 08-13-2007 09:49 AM

Ah, something as simple as that then.

Lovely :)


All times are GMT -5. The time now is 11:13 AM.