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 fe65132e8..0a3010175 100644
--- a/sshd.c
+++ b/sshd.c
@@ -763,7 +763,7 @@ privsep_postauth(Authctxt *authctxt)
763 bzero(rnd, sizeof(rnd)); 763 bzero(rnd, sizeof(rnd));
764 764
765 /* Drop privileges */ 765 /* Drop privileges */
766 do_setusercontext(authctxt->pw); 766 do_setusercontext(authctxt->pw, authctxt->role);
767 767
768 skip: 768 skip:
769 /* It is safe now to apply the key state */ 769 /* It is safe now to apply the key state */