diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -595,7 +595,7 @@ privsep_postauth(struct ssh *ssh, Authctxt *authctxt) | |||
595 | reseed_prngs(); | 595 | reseed_prngs(); |
596 | 596 | ||
597 | /* Drop privileges */ | 597 | /* Drop privileges */ |
598 | do_setusercontext(authctxt->pw); | 598 | do_setusercontext(authctxt->pw, authctxt->role); |
599 | 599 | ||
600 | skip: | 600 | skip: |
601 | /* It is safe now to apply the key state */ | 601 | /* It is safe now to apply the key state */ |