[Bug 789] pam_setcred() not being called as root

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jan 15 21:58:04 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=789





------- Additional Comments From dtucker at zip.com.au  2004-01-15 21:58 -------
Try commenting out the second pam_setcred call (in session.c:do_exec_pty()) and
see if that makes the difference (and also check that the groups are in fact
correct).

Adding some debugging gives me these entries for pam_setcred:

debug1: do_pam_setcred called from do_setusercontext
debug3: do_pam_setcred called init 0 uid 0 euid 0 pid 5435
debug1: PAM: reinitializing credentials
debug1: do_pam_setcred called from do_exec_pty
debug3: do_pam_setcred called init 1 uid 500 euid 500 pid 5435

I'm wondering why the second call is there at all?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list