summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/session.c b/session.c
index 002cfd844..f1f26ef69 100644
--- a/session.c
+++ b/session.c
@@ -1500,16 +1500,6 @@ do_setusercontext(struct passwd *pw)
1500 exit(1); 1500 exit(1);
1501 } 1501 }
1502 endgrent(); 1502 endgrent();
1503# ifdef USE_PAM
1504 /*
1505 * PAM credentials may take the form of supplementary groups.
1506 * These will have been wiped by the above initgroups() call.
1507 * Reestablish them here.
1508 */
1509 if (options.use_pam) {
1510 do_pam_setcred(use_privsep);
1511 }
1512# endif /* USE_PAM */
1513#endif 1503#endif
1514 1504
1515 platform_setusercontext_post_groups(pw); 1505 platform_setusercontext_post_groups(pw);