diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -708,7 +708,7 @@ privsep_postauth(Authctxt *authctxt) | |||
708 | RAND_seed(rnd, sizeof(rnd)); | 708 | RAND_seed(rnd, sizeof(rnd)); |
709 | 709 | ||
710 | /* Drop privileges */ | 710 | /* Drop privileges */ |
711 | do_setusercontext(authctxt->pw); | 711 | do_setusercontext(authctxt->pw, authctxt->role); |
712 | 712 | ||
713 | skip: | 713 | skip: |
714 | /* It is safe now to apply the key state */ | 714 | /* It is safe now to apply the key state */ |