diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -753,7 +753,7 @@ privsep_postauth(Authctxt *authctxt) | |||
753 | RAND_seed(rnd, sizeof(rnd)); | 753 | RAND_seed(rnd, sizeof(rnd)); |
754 | 754 | ||
755 | /* Drop privileges */ | 755 | /* Drop privileges */ |
756 | do_setusercontext(authctxt->pw); | 756 | do_setusercontext(authctxt->pw, authctxt->role); |
757 | 757 | ||
758 | skip: | 758 | skip: |
759 | /* It is safe now to apply the key state */ | 759 | /* It is safe now to apply the key state */ |