diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-02-24 00:01:27 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-02-24 00:01:27 +1100 |
commit | 1825f26d21af352f3a5e2a804636c92cee700282 (patch) | |
tree | 2e367f5b1c2f044ca05a6c76daf17f4b2c2dbf9c | |
parent | e828d0c75b5a6e8a1736b25802739516a0212d6d (diff) |
- (dtucker) [session.c] Bug #789: Only make setcred call for !privsep in the
non-interactive path. ok djm@
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | session.c | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -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 $ @@ -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 */ |