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 9275e0b7a..1b49b2669 100644
--- a/sshd.c
+++ b/sshd.c
@@ -786,7 +786,7 @@ privsep_postauth(Authctxt *authctxt)
786 explicit_bzero(rnd, sizeof(rnd)); 786 explicit_bzero(rnd, sizeof(rnd));
787 787
788 /* Drop privileges */ 788 /* Drop privileges */
789 do_setusercontext(authctxt->pw); 789 do_setusercontext(authctxt->pw, authctxt->role);
790 790
791 skip: 791 skip:
792 /* It is safe now to apply the key state */ 792 /* It is safe now to apply the key state */