diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -781,7 +781,7 @@ privsep_postauth(Authctxt *authctxt) | |||
781 | explicit_bzero(rnd, sizeof(rnd)); | 781 | explicit_bzero(rnd, sizeof(rnd)); |
782 | 782 | ||
783 | /* Drop privileges */ | 783 | /* Drop privileges */ |
784 | do_setusercontext(authctxt->pw); | 784 | do_setusercontext(authctxt->pw, authctxt->role); |
785 | 785 | ||
786 | skip: | 786 | skip: |
787 | /* It is safe now to apply the key state */ | 787 | /* It is safe now to apply the key state */ |