bugzilla-daemon at mindrot.org
2006-Nov-28 21:38 UTC
[Bug 926] pam_session_close called as user or not at all
http://bugzilla.mindrot.org/show_bug.cgi?id=926 t8m at centrum.cz changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1143 is|0 |1 obsolete| | ------- Comment #24 from t8m at centrum.cz 2006-11-29 08:37 ------- Created an attachment (id=1216) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1216&action=view) Improved pam-session patch I have moved the pam session calls to the sshd.c before the monitor forks the child. I also removed various pam calls from session.c because they would be duplicate to the calls in sshd.c. I tested this here in various root/non-root privsep/no-privsep combinations and it seems to work fine, pam_ calls are done as uid 0 and they are always called. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.