diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -769,7 +769,7 @@ privsep_postauth(Authctxt *authctxt) | |||
769 | explicit_bzero(rnd, sizeof(rnd)); | 769 | explicit_bzero(rnd, sizeof(rnd)); |
770 | 770 | ||
771 | /* Drop privileges */ | 771 | /* Drop privileges */ |
772 | do_setusercontext(authctxt->pw); | 772 | do_setusercontext(authctxt->pw, authctxt->role); |
773 | 773 | ||
774 | skip: | 774 | skip: |
775 | /* It is safe now to apply the key state */ | 775 | /* It is safe now to apply the key state */ |