Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-13-2007, 09:35 AM   #1
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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
Old 08-13-2007, 09:42 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,694

Rep: Reputation: 566Reputation: 566Reputation: 566Reputation: 566Reputation: 566Reputation: 566
Security measure?
Old 08-13-2007, 09:48 AM   #3
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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.
Old 08-13-2007, 09:49 AM   #4
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Original Poster
Rep: Reputation: 128Reputation: 128
Ah, something as simple as that then.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
su: incorrect password psuresh Linux - Security 17 11-20-2009 02:27 AM
su: incorrect password MarioT Red Hat 1 05-28-2007 07:17 AM
kdesu gives incorrect password error with correct password. dasy2k1 SUSE / openSUSE 1 04-16-2007 10:34 AM
incorrect user name or password hiieu Linux - General 4 03-09-2007 09:37 AM
incorrect password when logging in as su - DMB Linux - General 3 07-09-2002 03:00 PM

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration