]> git.pld-linux.org Git - packages/xorg-app-xdm.git/blame_incremental - xorg-app-xdm-pam_tty.patch
- updated to 1.1.16
[packages/xorg-app-xdm.git] / xorg-app-xdm-pam_tty.patch
... / ...
CommitLineData
1Set PAM_TTY for remote displays too (used e.g. by pam_time)
2--- xdm-1.1.11/greeter/greet.c.orig 2011-09-25 09:35:47.000000000 +0200
3+++ xdm-1.1.11/greeter/greet.c 2011-09-26 16:43:55.211132926 +0200
4@@ -535,6 +535,12 @@
5 (*pamhp, PAM_RHOST, hostname));
6 free(hostname);
7 }
8+
9+ /* "for graphical, X-based, applications the value for this
10+ * item should be the $DISPLAY variable." (pam_appl docs)
11+ */
12+ RUN_AND_CHECK_PAM_ERROR(pam_set_item,
13+ (*pamhp, PAM_TTY, d->name));
14 } else { /* Displaying on local host */
15 const char *ttyname = NULL;
16
This page took 0.074776 seconds and 4 git commands to generate.