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 4ed0364f2..6d911c19a 100644
--- a/sshd.c
+++ b/sshd.c
@@ -679,7 +679,7 @@ privsep_postauth(Authctxt *authctxt)
679 reseed_prngs(); 679 reseed_prngs();
680 680
681 /* Drop privileges */ 681 /* Drop privileges */
682 do_setusercontext(authctxt->pw); 682 do_setusercontext(authctxt->pw, authctxt->role);
683 683
684 skip: 684 skip:
685 /* It is safe now to apply the key state */ 685 /* It is safe now to apply the key state */