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 4eddeb8d8..e5c983514 100644
--- a/sshd.c
+++ b/sshd.c
@@ -753,7 +753,7 @@ privsep_postauth(Authctxt *authctxt)
753 RAND_seed(rnd, sizeof(rnd)); 753 RAND_seed(rnd, sizeof(rnd));
754 754
755 /* Drop privileges */ 755 /* Drop privileges */
756 do_setusercontext(authctxt->pw); 756 do_setusercontext(authctxt->pw, authctxt->role);
757 757
758 skip: 758 skip:
759 /* It is safe now to apply the key state */ 759 /* It is safe now to apply the key state */