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