diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -679,7 +679,7 @@ privsep_postauth(Authctxt *authctxt) | |||
679 | reseed_prngs(); | 679 | reseed_prngs(); |
680 | 680 | ||
681 | /* Drop privileges */ | 681 | /* Drop privileges */ |
682 | do_setusercontext(authctxt->pw); | 682 | do_setusercontext(authctxt->pw, authctxt->role); |
683 | 683 | ||
684 | skip: | 684 | skip: |
685 | /* It is safe now to apply the key state */ | 685 | /* It is safe now to apply the key state */ |