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 3a6be65ab..48a14dded 100644
--- a/sshd.c
+++ b/sshd.c
@@ -772,7 +772,7 @@ privsep_postauth(Authctxt *authctxt)
772 explicit_bzero(rnd, sizeof(rnd)); 772 explicit_bzero(rnd, sizeof(rnd));
773 773
774 /* Drop privileges */ 774 /* Drop privileges */
775 do_setusercontext(authctxt->pw); 775 do_setusercontext(authctxt->pw, authctxt->role);
776 776
777 skip: 777 skip:
778 /* It is safe now to apply the key state */ 778 /* It is safe now to apply the key state */