new openssh-server startup scripts broken

Jakub Bogusz qboosh at pld-linux.org
Sun Aug 24 21:18:34 CEST 2003


On Sun, Aug 24, 2003 at 04:21:36PM +0200, Michal Moskal wrote:
> After upgrading openssh-server from rel 3.2 to rel 5
> 
> [malekith at roke init.d]$ ssh roke
> Connection to roke closed by remote host.
> Connection to roke closed.
> [malekith at roke init.d]$ 
> 
> Aug 24 16:12:15 roke sshd[16202]: fatal: PAM session setup failed[6]:
> Permission denied
> 
> Replacing /etc/rc.d/init.d/sshd with old version (from 3.2) fixes the
> problem.
> 
> The command that causes the problem seems to be ulimit -S -p unlimited.

Have you set some other limits before trying to start sshd?
This script works for me... but on Linux 2.6 ;)
Maybe I'll try again on 2.4.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/



More information about the pld-devel-en mailing list