summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index d351094d4..67a2f9d6b 100644
--- a/sshd.c
+++ b/sshd.c
@@ -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 */