You are not logged in.
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
It is to prevent guessing of the password. Probably configurable somewhere...
Offline
Probably configurable somewhere...
/etc/login.defs
Offline
erfanjoker: https://wiki.archlinux.org/index.php/Se … in_attempt — set it to some smaller value. Be sure to use strong password.
Offline
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
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
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
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