You are not logged in.

#1 2020-12-18 00:22:27

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

[SOLVED]Why password try again takes long in linux ?

Hi, title may not be clear, but what i mean is in general in linux not just arch linux, when you run a command as root it requires password, so when you enter it correct the authentication is done in a very fast time (probably in miliseconds based on your system) , but when you enter the password wrong it doesn't instantly say that you are wrong, it takes around 3 seconds stil waiting and then says "Sorry, try again.", now my question is why ?

why it just doesn't say password is wrong instantly ? when it can have result of authenticate in miliseconds then why it takes seconds to say it is wrong ? is it for bruteforce reducing or sth like this ? or is there anyway to reduce this time ? i want to instantly show me that i entered wrong password

Last edited by erfanjoker (2020-12-18 01:57:29)

Offline

#2 2020-12-18 00:35:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED]Why password try again takes long in linux ?

It is to prevent guessing of the password.  Probably configurable somewhere...

Offline

#3 2020-12-18 00:37:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]Why password try again takes long in linux ?

Allan wrote:

Probably configurable somewhere...

/etc/login.defs


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2020-12-18 00:47:49

mpan
Member
Registered: 2012-08-01
Posts: 1,640
Website

Re: [SOLVED]Why password try again takes long in linux ?

erfanjoker: https://wiki.archlinux.org/index.php/Se … in_attempt — set it to some smaller value. Be sure to use strong password.

Offline

#5 2020-12-18 01:10:03

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 362

Re: [SOLVED]Why password try again takes long in linux ?

mpan wrote:

erfanjoker: https://wiki.archlinux.org/index.php/Se … in_attempt — set it to some smaller value. Be sure to use strong password.

I'm guessing he's using a strong password if he mistypes it so much he wants to reduce the delay. lol


"Oh, they have the internet on computers now."

Offline

#6 2020-12-18 01:57:15

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: [SOLVED]Why password try again takes long in linux ?

mpan wrote:

erfanjoker: https://wiki.archlinux.org/index.php/Se … in_attempt — set it to some smaller value. Be sure to use strong password.

Thanks a lot, Solved.

Offline

#7 2020-12-18 03:28:11

mpan
Member
Registered: 2012-08-01
Posts: 1,640
Website

Re: [SOLVED]Why password try again takes long in linux ?

murffatksig wrote:

I'm guessing he's using a strong password if he mistypes it so much he wants to reduce the delay. lol

Not neccessarily. It may only be hard to type or remember. Or they have fat fingers. Or a broken keyboard. Or working through a JavaScript-powered webapp VNC client that randomly drops characters.

Last edited by mpan (2020-12-18 03:28:54)

Offline

#8 2020-12-18 03:58:57

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 362

Re: [SOLVED]Why password try again takes long in linux ?

mpan wrote:

Not neccessarily. It may only be hard to type or remember. Or they have fat fingers. Or a broken keyboard. Or working through a JavaScript-powered webapp VNC client that randomly drops characters.

JavaScript powered webapp that randomly drops characters, I feel like there’s a story there.


"Oh, they have the internet on computers now."

Offline

Board footer

Powered by FluxBB