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 e96d90809..e8b332ca4 100644
--- a/sshd.c
+++ b/sshd.c
@@ -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 */