Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2001 18:03:01 -0500
From:      Bob Johnson <bobj@ufl.edu>
To:        stable@freebsd.org
Subject:   Re: sshd not working after upgrade to 4.2S from 4.1R HELP
Message-ID:  <3A623025.1232B44C@ufl.edu>

next in thread | raw e-mail | index | archive | help
Rats.  Copied this to the wrong list (questions).  
Here it is, for the record.

- Bob


-------- Original Message --------
Subject: sshd not working after upgrade to 4.2S from 4.1R HELP
Date: Sun, 14 Jan 2001 17:57:33 -0500
From: Bob Johnson <bobj@ufl.edu>
To: peter@a3.ca


> 
> 
> Date: Sun, 14 Jan 2001 11:42:03 -0800
> From: "Peter" <peter@a3.ca>
> Subject: sshd not working after upgrade to 4.2S from 4.1R HELP
> 
> This is a multi-part message in MIME format.
> 
> - ------=_NextPart_000_0012_01C07E1F.03A67360
> Content-Type: text/plain;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> Hello=20
> 
>     I have a little problems after I cvsup my src and post.  Then build =
> and install a new kernel.  BTW im was on 4.1R now 4.2S.   Everything run =
> great now but i can't seem to login ssh. =20
> 
> this is the error msg i got under /var/log/messages
> 
> Jan 14 11:28:23 crazie sshd[209]: no modules loaded for `sshd' service
> Jan 14 11:28:23 crazie sshd[209]: fatal: PAM session setup failed[6]: =
> Permission denied
> Jan 14 11:28:23 crazie sshd[209]: no modules loaded for `sshd' service
> 

I had a similar problem once caused by a change in /etc/pam.conf, but 
I don't think it has changed between 4.1R and 4.2S.  In my case, I 
needed the "other" section at the end of the file.

I would look at /etc/pam.conf and /etc/ssh/sshd_config to see if 
anything changed that might explain this.  I think the 4.2S versions 
will be in /usr/src/etc and /usr/src/crypto/openssh: compare them 
to your backup copies of the old ones to see what changed.

You might also make sure the files /etc/nologin and /var/run/nologin 
do not exist: if they do you will be logged out immediately after 
you log in, which you describe below (but that doesn't explain the 
PAM error messages).


- Bob



> everytime i tried to login=20
> 
> the password prompt up and if i enter the wrong password it will ask me =
> again=20
> but when i enter the right pass work it logged me out. =20
> 
> Cuz someone suggestion or point me to how to fix it.   I tried =
> reinstalling it. but still given me the same problems.  Thank you=20
> 
> Peter
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A623025.1232B44C>