From owner-freebsd-security Thu Aug 2 7:33:44 2001 Delivered-To: freebsd-security@freebsd.org Received: from mohegan.mohawk.net (mohegan.mohawk.net [63.66.68.21]) by hub.freebsd.org (Postfix) with ESMTP id 9C0EE37B401 for ; Thu, 2 Aug 2001 07:33:37 -0700 (PDT) (envelope-from rjh@mohawk.net) Received: from mohegan.mohawk.net (mohegan.mohawk.net [63.66.68.21]) by mohegan.mohawk.net (8.11.4/8.11.3) with ESMTP id f72EXhR89803 for ; Thu, 2 Aug 2001 10:33:43 -0400 (EDT) Date: Thu, 2 Aug 2001 10:33:43 -0400 (EDT) From: Ralph Huntington To: Subject: Re: pam session failing In-Reply-To: <20010802093505.Q61813-100000@mohegan.mohawk.net> Message-ID: <20010802103228.H89488-100000@mohegan.mohawk.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Responding to my own posting... Two people have pointed me to pam.conf and updating that file has cured the problem. I don't know why the original file no longer worked, since the system was not upgraded since installed, but okay, it works now. Thanks very much to those who replied. On Thu, 2 Aug 2001, Ralph Huntington wrote: > ssh connections to a particular box are failing, but used to work fine. > The password is accepted, the user authenticated, but then the session > setup fails. Here is the verbose sshd debug output (after authentication). > I don't understand what permission is denied and the man pages don't seem > to cover this. Can anyone point me toward the solution? Thanks! -=r=- > > ... > debug1: session_new: init > debug1: session_new: session 0 > debug1: Allocating pty. > debug1: PAM setting tty to "/dev/ttyp4" > debug1: do_pam_session: euid 0, uid 0 > fatal: PAM session setup failed[6]: Permission denied <<========= > debug1: Calling cleanup 0x80547b4(0x807b920) > debug1: pty_cleanup_proc: /dev/ttyp4 > debug1: Calling cleanup 0x8058330(0x0) > Cannot close PAM session[6]: Permission denied <<=========== > debug1: Calling cleanup 0x805e72c(0x0) > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message