OpenSSH-1.2.3: More info on ulimit problem

Jim Knoble jmknoble at
Thu Mar 30 21:23:57 EST 2000

På 2000-Mar-29 klokka 01:26:32 -0500 skrivet Jim Knoble:

: 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):


:   $ ssh localhost
:   Last login: Wed Mar 29 01:10:36 2000 from
:   You have mail.
:   ulimit: cannot raise limit: Operation not permitted
:   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Further info:  openssh-1.2.3 appears to be ignoring /etc/pam.d/sshd.
The following pam file ought not to allow me to login via ssh:

  auth       required     /lib/security/
  account    required     /lib/security/
  password   required     /lib/security/
  session    required     /lib/security/

Yet, i can still log in as though nothing were wrong.  sshd appears to
be linked against the PAM libs:

# ldd /usr/sbin/sshd => /lib/ (0x40018000) => /lib/ (0x4001c000) => /usr/lib/ (0x40032000) => /lib/ (0x40041000) => /lib/ (0x40044000)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ => /usr/lib/ (0x4004c000) => /lib/ (0x400fd000)
        /lib/ => /lib/ (0x40000000)

And i'm certain i didn't build with '--without-pam':

  $ grep -B 2 -A 7 '\./configure' openssh.jmk.spec
    ./configure \
      --prefix="%{Prefix}" \
      --sysconfdir="%{EtcDir}" \
      --with-ipv4-default \
      --with-tcp-wrappers \

I'm mystified.  Damien, can you confirm whether anything similar to
this is happening for you under RHL-6.1?

jim knoble
jmknoble at

More information about the openssh-unix-dev mailing list