diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -677,7 +677,7 @@ privsep_postauth(Authctxt *authctxt) | |||
677 | reseed_prngs(); | 677 | reseed_prngs(); |
678 | 678 | ||
679 | /* Drop privileges */ | 679 | /* Drop privileges */ |
680 | do_setusercontext(authctxt->pw); | 680 | do_setusercontext(authctxt->pw, authctxt->role); |
681 | 681 | ||
682 | skip: | 682 | skip: |
683 | /* It is safe now to apply the key state */ | 683 | /* It is safe now to apply the key state */ |