- (djm) Reintroduce pam_session call for non-pty sessions.

This commit is contained in:
Damien Miller 2001-06-27 09:34:15 +10:00
parent c8a3868ed0
commit 665af9cae7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
20010627
- (djm) Reintroduce pam_session call for non-pty sessions.
20010625
- OpenBSD CVS Sync
- markus@cvs.openbsd.org 2001/06/21 21:08:25
@ -5791,4 +5794,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1325 2001/06/25 08:09:16 djm Exp $
$Id: ChangeLog,v 1.1326 2001/06/26 23:34:15 djm Exp $

View File

@ -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 */