To get rid of this annoying delay, for example when running a sudo command, you can do the following with PAM configuration.
pam-config --update --unix-nodelay
Additionally, for regular “su”, you’ll want to go to the configuration file /etc/login.defs and set the appropriate option.
FAIL_DELAY 0
Voilà!