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