From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Description of problem: If you use a soft nproc limit via pam_limits, ssh is unable to log users in. Version-Release number of selected component (if applicable): pam-0.77-66.2 openssh-3.9p1-8.0.2 How reproducible: Always Steps to Reproduce: 1. Add these two lines to /etc/security/limits.conf on ssh host. * soft nproc 100 * hard nproc 150 2. Attempt to ssh in to the host. 3. Profit! Actual Results: The following message appears in /var/log/secure: sshd[21872]: Accepted password for user from 192.168.1.1 port 56193 ssh2 sshd[21875]: fatal: setresuid 500: Resource temporarily unavailable Expected Results: Shell prompt. Additional info: If you comment out just the soft nproc line, sshd works normally. Additionally, if you set hard nproc limit of 100, sshd still works normally.
Hmmm but either this user already had 100 processes or the kernel you have on this machine is seriously broken. I've tried it here on FC3 machine with the release kernel and the latest updated one and I haven't seen a problem.