After entering an incorrect password at a login prompt, there s an approximately 3-second delay. How can I change that on a Linux system with PAM?
Login – Changing Delay After Incorrect Password Entry
hardeningloginpam
hardeningloginpam
After entering an incorrect password at a login prompt, there s an approximately 3-second delay. How can I change that on a Linux system with PAM?
Best Answer
I assume you are using Linux and pam. The delay is probably caused by
pam_faildelay.so
. Check your pam configuration in/etc/pam.d
usingpam_faildelay
, e.g:To change the time adjust the delay parameter. If you want to get rid of the delay you can delete/comment the complete line.
Another source for the delay may be
pam_unix.so
. To disable the delay caused bypam_unix.so
add thenodelay
parameter, and optionally add a line callingpam_faildelay.so
to add a (variable) delay instead, e.g.: