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 @@ | |||
1 | 20040223 | ||
2 | - (dtucker) [session.c] Bug #789: Only make setcred call for !privsep in the | ||
3 | non-interactive path. ok djm@ | ||
4 | |||
1 | 20040222 | 5 | 20040222 |
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 $ |
@@ -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 | ||