Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 11:17:22 -0500
From:      Chris Faulhaber <jedgar@fxp.org>
To:        rdmurphy@vt.edu
Cc:        stable@FreeBSD.ORG
Subject:   Re: sshd not working after upgrade to 4.2S from 4.1R HELP
Message-ID:  <20010115111722.B43912@peitho.fxp.org>
In-Reply-To: <14947.8317.578727.362433@knock.econ.vt.edu>; from rdmurphy@knock.econ.vt.edu on Mon, Jan 15, 2001 at 11:08:29AM -0500
References:  <001501c07e62$26beb0e0$cb3b35d1@bconnected.net> <20010114160503.B14278@citusc.usc.edu> <14947.8317.578727.362433@knock.econ.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 15, 2001 at 11:08:29AM -0500, Russell D. Murphy Jr. wrote:
> 
> I upgraded from STABLE as of last Friday.  I *did* run mergemaster,
> but I'm also having this problem (ssh fails; scp does not):
> 
> Jan 14 14:37:59 knock sshd[9674]: no modules loaded for `sshd' service
> Jan 14 14:37:59 knock sshd[9674]: fatal: PAM session setup failed[6]: Permission denied
> Jan 14 14:37:59 knock sshd[9674]: no modules loaded for `sshd' service
> 

When did you update Friday?  RELENG_4 src/etc/pam.conf was updated for sshd:

===================================================================
RCS file: /home/ncvs/src/etc/pam.conf,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -u -p -r1.6.2.2 -r1.6.2.3
--- src/etc/pam.conf    2000/12/07 15:16:12     1.6.2.2
+++ src/etc/pam.conf    2001/01/12 10:13:59     1.6.2.3
@@ -7,7 +7,7 @@
 # work quite right.  If you delete the final entry, be sure to change
 # "sufficient" to "required" in the entry before it.
 #
-# $FreeBSD: /home/ncvs/src/etc/pam.conf,v 1.6.2.2 2000/12/07 15:16:12 ru Exp $
+# $FreeBSD: /home/ncvs/src/etc/pam.conf,v 1.6.2.3 2001/01/12 10:13:59 ps Exp $
 
 # If the user can authenticate with S/Key, that's sufficient; allow clear
 # password. Try kerberos, then try plain unix password.
@@ -21,6 +21,12 @@ ftpd auth    sufficient      pam_skey.so
 ftpd   auth    requisite       pam_cleartext_pass_ok.so
 #ftpd  auth    sufficient      pam_kerberosIV.so               try_first_pass
 ftpd   auth    required        pam_unix.so                     try_first_pass
+
+# OpenSSH with PAM support requires similar modules.  The session one is
+# a bit strange, though...
+sshd   auth    sufficient      pam_skey.so
+sshd   auth    required        pam_unix.so                     try_first_pass
+sshd   session required        pam_permit.so
 
 # Don't break startx
 xserver        auth    required        pam_permit.so

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


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?20010115111722.B43912>