diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 13:00:05 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 13:00:05 +1100 |
commit | 728d8371a1dc1b615284ece94b0085897b4c0b51 (patch) | |
tree | 949dc94374774d643bb2799e4de1795fc92e559c /session.c | |
parent | fd4d8aa2cbe0acad520ab168656759cb46054c03 (diff) | |
download | openssh-git-728d8371a1dc1b615284ece94b0085897b4c0b51.tar.gz |
- (dtucker) [platform.c session.c] Move the PAM credential establishment for
the LOGIN_CAP case into platform.c.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1476,11 +1476,6 @@ do_setusercontext(struct passwd *pw) #endif /* HAVE_CYGWIN */ { #ifdef HAVE_LOGIN_CAP -# ifdef USE_PAM - if (options.use_pam) { - do_pam_setcred(use_privsep); - } -# endif /* USE_PAM */ if (setusercontext(lc, pw, pw->pw_uid, (LOGIN_SETALL & ~(LOGIN_SETPATH|LOGIN_SETUSER))) < 0) { perror("unable to set user context"); |