diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -763,7 +763,7 @@ privsep_postauth(Authctxt *authctxt) | |||
763 | bzero(rnd, sizeof(rnd)); | 763 | bzero(rnd, sizeof(rnd)); |
764 | 764 | ||
765 | /* Drop privileges */ | 765 | /* Drop privileges */ |
766 | do_setusercontext(authctxt->pw); | 766 | do_setusercontext(authctxt->pw, authctxt->role); |
767 | 767 | ||
768 | skip: | 768 | skip: |
769 | /* It is safe now to apply the key state */ | 769 | /* It is safe now to apply the key state */ |