new openssh-server startup scripts broken

Michal Moskal malekith at pld-linux.org
Sun Aug 24 21:19:57 CEST 2003


On Sun, Aug 24, 2003 at 09:18:34PM +0200, Jakub Bogusz wrote:
> 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?

Nope.

> This script works for me... but on Linux 2.6 ;)
> Maybe I'll try again on 2.4.

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv
: When in doubt, use brute force. -- Ken Thompson : {E-,w}-- {b++,e}>+++ h



More information about the pld-devel-en mailing list