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