summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--session.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a51b9b4e..476310bc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
120050421
2 - (dtucker) [session.c] Bug #1024: Don't check pam_session_is_open if
3 UseLogin is set as PAM is not used to establish credentials in that
4 case. Found by Michael Selvesteen, ok djm@
5
120050419 620050419
2 - (dtucker) [INSTALL] Reference README.privsep for the privilege separation 7 - (dtucker) [INSTALL] Reference README.privsep for the privilege separation
3 requirements. Pointed out by Bengt Svensson. 8 requirements. Pointed out by Bengt Svensson.
@@ -2436,4 +2441,4 @@
2436 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2441 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2437 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2442 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2438 2443
2439$Id: ChangeLog,v 1.3744 2005/04/19 05:40:51 dtucker Exp $ 2444$Id: ChangeLog,v 1.3745 2005/04/21 09:50:55 dtucker Exp $
diff --git a/session.c b/session.c
index b32c9e2ca..8ac476c69 100644
--- a/session.c
+++ b/session.c
@@ -1477,7 +1477,8 @@ do_child(Session *s, const char *command)
1477 } 1477 }
1478 1478
1479#ifdef USE_PAM 1479#ifdef USE_PAM
1480 if (options.use_pam && !is_pam_session_open()) { 1480 if (options.use_pam && !options.use_login && !is_pam_session_open()) {
1481 debug3("PAM session not opened, exiting");
1481 display_loginmsg(); 1482 display_loginmsg();
1482 exit(254); 1483 exit(254);
1483 } 1484 }