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