OpenSSH-1.12pre15: fun with ulimit

Damien Miller djm at
Tue Dec 7 14:37:09 EST 1999

On Sun, 5 Dec 1999, Jim Knoble wrote:

> Since upgrading from pre11 (aack, that was old!) to pre15, i get the
> following message when logging in via ssh to a box with the OpenSSH
> server running:
>   ulimit: cannot raise limit: Operation not permitted
> I've traced this to the following command in /etc/profile:
>   ulimit -c 1000000
> It seems as if sshd is turning off core dumps for the shell session it
> spawns.  Any idea what change caused this, and whether this particular
> effect is reversible without compromising security?  A cursory
> examination of the ChangeLog wasn't particularly revealing to me.

Are you sure that it is not PAM which is setting the limit? A quick
grepping through the code shows that ssh will set the limit, but sshd
does not.


| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller -
| Email: djm at (home) -or- djm at (work)

More information about the openssh-unix-dev mailing list