summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-06-27 01:34:15 +0200
committerDamien Miller <djm@mindrot.org>2001-06-27 01:34:15 +0200
commit665af9cae7850c9df87f98c6604564652857d9ba (patch)
treece5c2c198afbe69ce70f1b6b72b457b7c0e3df7e /session.c
parent - (djm) Bring in readpassphrase() from OpenBSD libc. Compiles OK on Linux and (diff)
downloadopenssh-665af9cae7850c9df87f98c6604564652857d9ba.tar.xz
openssh-665af9cae7850c9df87f98c6604564652857d9ba.zip
- (djm) Reintroduce pam_session call for non-pty sessions.
Diffstat (limited to '')
-rw-r--r--session.c1
1 files changed, 1 insertions, 0 deletions
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)
session_proctitle(s);
#if defined(USE_PAM)
+ do_pam_session(s->pw->pw_name, NULL);
do_pam_setcred(1);
#endif /* USE_PAM */