From owner-freebsd-security Thu Aug 2 6:39:35 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 0D40437B401 for ; Thu, 2 Aug 2001 06:39:30 -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.3/8.11.3) with ESMTP id f72DdUC63060 for ; Thu, 2 Aug 2001 09:39:30 -0400 (EDT) (envelope-from rjh@mohawk.net) Date: Thu, 2 Aug 2001 09:39:30 -0400 (EDT) From: Ralph Huntington To: Subject: pam session failing In-Reply-To: <20010802144121.A11210@heresy.xs4nobody.nl> Message-ID: <20010802093505.Q61813-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 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