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 62dc55cf2..65916fc6d 100644
--- a/sshd.c
+++ b/sshd.c
@@ -595,7 +595,7 @@ privsep_postauth(struct ssh *ssh, Authctxt *authctxt)
595 reseed_prngs(); 595 reseed_prngs();
596 596
597 /* Drop privileges */ 597 /* Drop privileges */
598 do_setusercontext(authctxt->pw); 598 do_setusercontext(authctxt->pw, authctxt->role);
599 599
600 skip: 600 skip:
601 /* It is safe now to apply the key state */ 601 /* It is safe now to apply the key state */