summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--session.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c07672949..474e2ec16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120010627
2 - (djm) Reintroduce pam_session call for non-pty sessions.
3
120010625 420010625
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 $
diff --git a/session.c b/session.c
index 0571c2f64..35e49c74e 100644
--- a/session.c
+++ b/session.c
@@ -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