diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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); |