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