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 186ad5579..9ff9e8ba6 100644
--- a/sshd.c
+++ b/sshd.c
@@ -781,7 +781,7 @@ privsep_postauth(Authctxt *authctxt)
781 explicit_bzero(rnd, sizeof(rnd)); 781 explicit_bzero(rnd, sizeof(rnd));
782 782
783 /* Drop privileges */ 783 /* Drop privileges */
784 do_setusercontext(authctxt->pw); 784 do_setusercontext(authctxt->pw, authctxt->role);
785 785
786 skip: 786 skip:
787 /* It is safe now to apply the key state */ 787 /* It is safe now to apply the key state */