Mailing List Archive

OpenSSH-1.2.3: return of ulimit problem
The ulimit problem appears to have reared its head again with
openssh-1.2.3, under Red Hat Linux 6.1 (kernel-2.2.12, glibc-2.1.2,
egcs-1.1.2, openssl-0.9.5, pam-0.68, pwdb-0.60):

$ telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-1.5-OpenSSH-1.2.3
^]
telnet> quit
Connection closed.
$ ssh localhost
Last login: Wed Mar 29 01:10:36 2000 from quipu.earth
You have mail.
ulimit: cannot raise limit: Operation not permitted
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Reading ~/.bashrc ...
Reading ~/.profile ...

today is Wed Mar 29 01:11:07 EST 2000
$

The error message is caused by the following line in /etc/profile:

$ grep ulimit /etc/profile
ulimit -c 1000000
$

With openssh-1.2.2 on the same system, the problem doesn't exhibit
itself:

$ telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-1.5-OpenSSH-1.2.2
^]
telnet> quit
Connection closed.
$ ssh localhost
Last login: Wed Mar 29 01:11:05 2000 from quipu.earth
You have mail.
Reading ~/.bashrc ...
Reading ~/.profile ...

today is Wed Mar 29 01:18:30 EST 2000
$

The last time this happened, i solved the problem by putting an
appropriate directive in /etc/security/limits.conf to allow core dumps:

# grep '^[^#].*core' /etc/security/limits.conf
@wheel hard core 1000000
# grep wheel /etc/group
wheel:x:10:root,jmknoble

This appears not to be working with openssh-1.2.3. Any ideas on what
change could have caused this to resurface?

--
jim knoble
jmknoble@pobox.com