summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-02-24 00:01:27 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-02-24 00:01:27 +1100
commit1825f26d21af352f3a5e2a804636c92cee700282 (patch)
tree2e367f5b1c2f044ca05a6c76daf17f4b2c2dbf9c
parente828d0c75b5a6e8a1736b25802739516a0212d6d (diff)
- (dtucker) [session.c] Bug #789: Only make setcred call for !privsep in the
non-interactive path. ok djm@
-rw-r--r--ChangeLog6
-rw-r--r--session.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3bc838c7..515eb709 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20040223
+ - (dtucker) [session.c] Bug #789: Only make setcred call for !privsep in the
+ non-interactive path. ok djm@
+
20040222
- (dtucker) [auth-shadow.c auth.c auth.h] Move shadow account expiry test
to auth-shadow.c, no functional change. ok djm@
@@ -1896,4 +1900,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
-$Id: ChangeLog,v 1.3242 2004/02/22 00:55:07 dtucker Exp $
+$Id: ChangeLog,v 1.3243 2004/02/23 13:01:27 dtucker Exp $
diff --git a/session.c b/session.c
index 86496756..af2e7199 100644
--- a/session.c
+++ b/session.c
@@ -398,7 +398,7 @@ do_exec_no_pty(Session *s, const char *command)
session_proctitle(s);
#if defined(USE_PAM)
- if (options.use_pam)
+ if (options.use_pam && !use_privsep)
do_pam_setcred(1);
#endif /* USE_PAM */