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