diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | session.c | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20010627 | ||
2 | - (djm) Reintroduce pam_session call for non-pty sessions. | ||
3 | |||
1 | 20010625 | 4 | 20010625 |
2 | - OpenBSD CVS Sync | 5 | - OpenBSD CVS Sync |
3 | - markus@cvs.openbsd.org 2001/06/21 21:08:25 | 6 | - markus@cvs.openbsd.org 2001/06/21 21:08:25 |
@@ -5791,4 +5794,4 @@ | |||
5791 | - Wrote replacements for strlcpy and mkdtemp | 5794 | - Wrote replacements for strlcpy and mkdtemp |
5792 | - Released 1.0pre1 | 5795 | - Released 1.0pre1 |
5793 | 5796 | ||
5794 | $Id: ChangeLog,v 1.1325 2001/06/25 08:09:16 djm Exp $ | 5797 | $Id: ChangeLog,v 1.1326 2001/06/26 23:34:15 djm Exp $ |
@@ -364,6 +364,7 @@ do_exec_no_pty(Session *s, const char *command) | |||
364 | session_proctitle(s); | 364 | session_proctitle(s); |
365 | 365 | ||
366 | #if defined(USE_PAM) | 366 | #if defined(USE_PAM) |
367 | do_pam_session(s->pw->pw_name, NULL); | ||
367 | do_pam_setcred(1); | 368 | do_pam_setcred(1); |
368 | #endif /* USE_PAM */ | 369 | #endif /* USE_PAM */ |
369 | 370 | ||