[Bug 926] pam_session_close called as user or not at all
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Mon May 22 17:02:54 EST 2006
http://bugzilla.mindrot.org/show_bug.cgi?id=926
------- Comment #9 from t8m at centrum.cz 2006-05-22 17:02 -------
I am talking about your proposition in comment #6. It doesn't make
sense because te pam_open_session + pam_close_session must be called by
a parent process of the child from which the shell is executed but
before forking the child so the child inherits limits and other things
set by the session module.
The reason why the pam_open_session cannot be called in slave is that
the pam_close_session must be called in the same process as where the
pam_open_session were. It also should be called with root privileges.
------- 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