[Bug 83] PAM limits applied incorrectly (pam_session being called as non-root)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Mar 28 10:48:38 EST 2003


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





------- Additional Comments From djm at mindrot.org  2003-03-28 10:48 -------
Most of session.c runs with user privs in privsep mode. if you need to raise
ulimits, you may need to raise the hard-limits for sshd itself. The last patch
may help if you are not using privsep.

There are two issues here: 1) That all pam_limits calls are happening in the
server process, rather than the child (this is the greater problem) 2) the
ulimit calls are happening as non-root.

2) is arguably not a bug.



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




More information about the openssh-unix-dev mailing list