patchen:Patrick Horn skrev: * This patch changes the aggrivating 2 second delay to a more pleasant 0.5 seconds. Place this in debian/patches-applied/ and add to debian/patches-applied/series (534 bytes, text/plain)
I don't like having to use nodelay -- I like the fact that it gives a delay when I make a mistake but 2 seconds is just too long.
I would vote for just changing the delay to 0.5 seconds, since this is as simple as changing a constant in pam_unix
Kod: Markera allt
Index: pam.deb/modules/pam_unix/support.c
===================================================================
--- pam.deb.orig/modules/pam_unix/support.c 2008-11-16 13:41:55.000000000 -0800
+++ pam.deb/modules/pam_unix/support.c 2008-11-16 13:41:57.000000000 -0800
@@ -610,7 +610,7 @@
#ifdef HAVE_PAM_FAIL_DELAY
if (off(UNIX_NODELAY, ctrl)) {
D(("setting delay"));
- (void) pam_fail_delay(pamh, 2000000); /* 2 sec delay for on failure */
+ (void) pam_fail_delay(pamh, 500000); /* 1/2 sec delay for on failure */
}
#endif