[Pkg-shadow-commits] r400 - branches/experimental/debian/patches

Nicolas FRANCOIS nekral-guest at costa.debian.org
Sun Jul 24 20:30:34 UTC 2005


Author: nekral-guest
Date: 2005-07-24 20:30:34 +0000 (Sun, 24 Jul 2005)
New Revision: 400

Modified:
   branches/experimental/debian/patches/008_login_log_failure_in_FTMP
Log:
This patch requires the FTMP_FILE variable.


Modified: branches/experimental/debian/patches/008_login_log_failure_in_FTMP
===================================================================
--- branches/experimental/debian/patches/008_login_log_failure_in_FTMP	2005-07-24 07:25:02 UTC (rev 399)
+++ branches/experimental/debian/patches/008_login_log_failure_in_FTMP	2005-07-24 20:30:34 UTC (rev 400)
@@ -4,11 +4,11 @@
  * I'm not sure login should add an entry in the FTMP file when PAM is used.
    (but nothing in /etc/login.defs indicates that the failure is not logged)
 
-Index: shadow-4.0.3/src/login.c
+Index: shadow-4.0.10/src/login.c
 ===================================================================
---- shadow-4.0.3.orig/src/login.c	2005-05-29 00:06:56.174189000 +0200
-+++ shadow-4.0.3/src/login.c	2005-05-29 00:10:42.704189000 +0200
-@@ -831,6 +831,20 @@
+--- shadow-4.0.10.orig/src/login.c	2005-07-11 16:09:05.000000000 +0300
++++ shadow-4.0.10/src/login.c	2005-07-11 19:39:14.000000000 +0300
+@@ -699,6 +699,20 @@
  			    break;
  			  
  			  fprintf(stderr,"Login incorrect\n\n");
@@ -29,3 +29,23 @@
  			  
  			  /* Let's give it another go around */
  			  pam_set_item(pamh,PAM_USER,NULL);
+Index: shadow-4.0.10/lib/getdef.c
+===================================================================
+--- shadow-4.0.10.orig/lib/getdef.c	2005-07-11 19:36:42.000000000 +0300
++++ shadow-4.0.10/lib/getdef.c	2005-07-11 19:41:09.000000000 +0300
+@@ -50,6 +50,7 @@
+ 	{"CHFN_RESTRICT", NULL},
+ 	{"DEFAULT_HOME", NULL},
+ 	{"FAIL_DELAY", NULL},
++	{"FTMP_FILE", NULL},
+ 	{"PASS_MAX_DAYS", NULL},
+ 	{"PASS_MIN_DAYS", NULL},
+ 	{"PASS_WARN_AGE", NULL},
+@@ -67,7 +68,6 @@
+ 	{"ENV_TZ", NULL},
+ 	{"ENVIRON_FILE", NULL},
+ 	{"FAILLOG_ENAB", NULL},
+-	{"FTMP_FILE", NULL},
+ 	{"ISSUE_FILE", NULL},
+ 	{"LASTLOG_ENAB", NULL},
+ 	{"LOGIN_STRING", NULL},




More information about the Pkg-shadow-commits mailing list