SOURCES: xorg-app-xdm-pam_tty.patch (NEW) - setup PAM_TTY, so pam_...

qboosh qboosh at pld-linux.org
Sun Oct 15 01:21:08 CEST 2006


Author: qboosh                       Date: Sat Oct 14 23:21:08 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- setup PAM_TTY, so pam_access (locally) and pam_time (always) no longer return fatal errors

---- Files affected:
SOURCES:
   xorg-app-xdm-pam_tty.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xorg-app-xdm-pam_tty.patch
diff -u /dev/null SOURCES/xorg-app-xdm-pam_tty.patch:1.1
--- /dev/null	Sun Oct 15 01:21:08 2006
+++ SOURCES/xorg-app-xdm-pam_tty.patch	Sun Oct 15 01:21:02 2006
@@ -0,0 +1,14 @@
+--- xdm-1.1.0/greeter/greet.c.orig	2006-08-14 20:00:05.000000000 +0200
++++ xdm-1.1.0/greeter/greet.c	2006-10-15 01:18:00.810129000 +0200
+@@ -541,6 +541,11 @@
+ 		free(hostname);
+ 	    }
+ 	}
++	/* "for graphical, X-based, applications the value for this
++	 * item should be the $DISPLAY variable." (pam_appl docs)
++	 */
++	RUN_AND_CHECK_PAM_ERROR(pam_set_item,
++				(*pamhp, PAM_TTY, d->name));
+  
+ 	if (!greet->allow_null_passwd) {
+ 	    pam_flags |= PAM_DISALLOW_NULL_AUTHTOK;
================================================================


More information about the pld-cvs-commit mailing list