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