]> git.pld-linux.org Git - packages/xorg-app-xdm.git/blame - xorg-app-xdm-pam_tty.patch
- setup PAM_TTY, so pam_access (locally) and pam_time (always) no longer return fatal...
[packages/xorg-app-xdm.git] / xorg-app-xdm-pam_tty.patch
CommitLineData
190263fc
JB
1--- xdm-1.1.0/greeter/greet.c.orig 2006-08-14 20:00:05.000000000 +0200
2+++ xdm-1.1.0/greeter/greet.c 2006-10-15 01:18:00.810129000 +0200
3@@ -541,6 +541,11 @@
4 free(hostname);
5 }
6 }
7+ /* "for graphical, X-based, applications the value for this
8+ * item should be the $DISPLAY variable." (pam_appl docs)
9+ */
10+ RUN_AND_CHECK_PAM_ERROR(pam_set_item,
11+ (*pamhp, PAM_TTY, d->name));
12
13 if (!greet->allow_null_passwd) {
14 pam_flags |= PAM_DISALLOW_NULL_AUTHTOK;
This page took 0.103993 seconds and 4 git commands to generate.