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

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jan 15 23:40:54 EST 2004


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





------- Additional Comments From dtucker at zip.com.au  2004-01-15 23:40 -------
"Reinitialize" is misleading.  According to the Linux PAM man page, it means
"delete then initialize", and I'm guessing it's for dropping any creds the
parent process might have had.

As for the second call, since it comes directly after do_pam_set_tty() I'm
guessing it's for adding credentials associated with a specific tty (somewhat
like the tty ticket system employed by sudo, although I don't know of any PAM
examples).  That's just a guess, though.  I've been back 3 years in the CVS logs
and I'm still none the wiser. 



------- 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