From owner-freebsd-stable Mon Jan 15 10:57:50 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.ufl.edu (sp28fe.nerdc.ufl.edu [128.227.128.108]) by hub.freebsd.org (Postfix) with ESMTP id 5512A37B400 for ; Mon, 15 Jan 2001 10:57:29 -0800 (PST) Received: from ufl.edu (neti.eng.ufl.edu [128.227.235.15]) by smtp.ufl.edu (8.9.3/8.9.3/2.2.1) with ESMTP id NAA165382; Mon, 15 Jan 2001 13:57:19 -0500 Message-ID: <3A63484B.6E0D1253@ufl.edu> Date: Mon, 15 Jan 2001 13:58:19 -0500 From: Bob Johnson X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en, eo MIME-Version: 1.0 To: peter@a3.ca Cc: stable@freebsd.org Subject: Re: sshd not working after upgrade to 4.2S from 4.1R HELP References: <3A622EDD.2572DEE9@ufl.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bob Johnson wrote: > > > > > > > Date: Sun, 14 Jan 2001 11:42:03 -0800 > > From: "Peter" > > 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. > I just upgraded a system to 4.2-STABLE and it does indeed have a new sshd entry in /etc/pam.conf. You need to add that to your pam.conf. In general, you need to run mergemaster after upgrading. It steps through the various configuration files, shows you which ones have changed, and helps you merge your customizations into the new versions. - Bob > 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