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