summaryrefslogtreecommitdiff
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 3bc838c7c..515eb7095 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120040223
2 - (dtucker) [session.c] Bug #789: Only make setcred call for !privsep in the
3 non-interactive path. ok djm@
4
120040222 520040222
2 - (dtucker) [auth-shadow.c auth.c auth.h] Move shadow account expiry test 6 - (dtucker) [auth-shadow.c auth.c auth.h] Move shadow account expiry test
3 to auth-shadow.c, no functional change. ok djm@ 7 to auth-shadow.c, no functional change. ok djm@
@@ -1896,4 +1900,4 @@
1896 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 1900 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
1897 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 1901 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
1898 1902
1899$Id: ChangeLog,v 1.3242 2004/02/22 00:55:07 dtucker Exp $ 1903$Id: ChangeLog,v 1.3243 2004/02/23 13:01:27 dtucker Exp $
diff --git a/session.c b/session.c
index 864967565..af2e71992 100644
--- a/session.c
+++ b/session.c
@@ -398,7 +398,7 @@ do_exec_no_pty(Session *s, const char *command)
398 session_proctitle(s); 398 session_proctitle(s);
399 399
400#if defined(USE_PAM) 400#if defined(USE_PAM)
401 if (options.use_pam) 401 if (options.use_pam && !use_privsep)
402 do_pam_setcred(1); 402 do_pam_setcred(1);
403#endif /* USE_PAM */ 403#endif /* USE_PAM */
404 404