008_login_log_failure_in_FTMP updated for upstream version 4.1.2.

This commit is contained in:
nekral-guest
2008-09-13 17:22:30 +00:00
parent 455c9e8673
commit 6232365cea
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@@ -10,6 +10,7 @@ shadow (1:4.1.2-1) experimental; urgency=low
+ debian/patches/494_passwd_lock-no_account_lock
+ debian/patches/008_su_get_PAM_username
+ debian/patches/302_vim_selinux_support
+ debian/patches/008_login_log_failure_in_FTMP
* debian/patches/506_relaxed_usernames: Use an extra paragraph for the note
on username with a '/'.
* debian/patches/504_undef_USE_PAM.dpatch:

View File

@@ -11,7 +11,7 @@ Index: shadow-4.1.0/src/login.c
@@ -722,6 +722,29 @@
#endif /* WITH_AUDIT */
fprintf(stderr,"\nLogin incorrect\n");
fprintf (stderr, "\nLogin incorrect\n");
+ if (getdef_str("FTMP_FILE") != NULL) {
+#if HAVE_UTMPX_H
+ failent = utxent;