diff options
author | Damien Miller <djm@mindrot.org> | 2001-06-27 01:34:15 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-06-27 01:34:15 +0200 |
commit | 665af9cae7850c9df87f98c6604564652857d9ba (patch) | |
tree | ce5c2c198afbe69ce70f1b6b72b457b7c0e3df7e /session.c | |
parent | - (djm) Bring in readpassphrase() from OpenBSD libc. Compiles OK on Linux and (diff) | |
download | openssh-665af9cae7850c9df87f98c6604564652857d9ba.tar.xz openssh-665af9cae7850c9df87f98c6604564652857d9ba.zip |
- (djm) Reintroduce pam_session call for non-pty sessions.
Diffstat (limited to '')
-rw-r--r-- | session.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |