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