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