Non è direttamente sudo, mi sa che sono le impostazioni in pam. Dal mio /etc/pam.d/sudo:
- Codice: Seleziona tutto
#%PAM-1.0
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
E quindi, da /etc/pam.d/system-auth:
- Codice: Seleziona tutto
auth sufficient pam_unix.so likeauth nullok
Dalla descrizione di pam-unix:
...
The argument, nodelay, can be used to discourage the authentication component from requesting a delay should the authentication as a whole fail. The default action is for the module to request a delay-on-failure of the order of one second.
...
Solo che aggiungi nodelay come argomento dopo nullok e il ritardo magicamente sparisce.
Il faut être toujours ivre. Tout est là : c'est l'unique question. Pour ne pas sentir l'horrible fardeau du Temps qui brise vos épaules et vous penche vers la terre,il faut vous enivrer sans trêve...