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