OpenSSH-1.12pre15: fun with ulimit

Jim Knoble jmknoble at
Mon Dec 6 15:43:37 EST 1999

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.

Red Hat Linux/x86 5.2, glibc-2.0.7, OpenSSL-0.9.4
OpenSSH built with egcs-1.1.2 (egcs -pipe -O2 -mpentium -fno-strength-reduce)
./configure --prefix=/usr --sysconfdir=/etc --with-tcp-wrappers

jim knoble
jmknoble at

More information about the openssh-unix-dev mailing list