FW: ulimits in ssh/sshd without resorting to PAM?

Darren Tucker dtucker at zip.com.au
Mon Aug 6 11:08:44 EST 2012

On Mon, Aug 6, 2012 at 8:56 AM, Damien Miller <djm at mindrot.org> wrote:
> On Thu, 2 Aug 2012, Hebenstreit, Michael wrote:
>> Is there an (even rudimentary) way to compile/configure/use ulimits in
>> ssh/sshd without resorting to PAM?
>> I've searched docs and archives, but did not find anything
> You might have to use a custom login shell.

If you just want to reduce them from whatever the system defaults are
you could just put the appropriate ulimit commands in the shell's
startup (probably /etc/profile).

Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list