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 72d85de1c..9aab36c3f 100644
--- a/sshd.c
+++ b/sshd.c
@@ -678,7 +678,7 @@ privsep_postauth(Authctxt *authctxt)
678 reseed_prngs(); 678 reseed_prngs();
679 679
680 /* Drop privileges */ 680 /* Drop privileges */
681 do_setusercontext(authctxt->pw); 681 do_setusercontext(authctxt->pw, authctxt->role);
682 682
683 skip: 683 skip:
684 /* It is safe now to apply the key state */ 684 /* It is safe now to apply the key state */