Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2001 10:33:43 -0400 (EDT)
From:      Ralph Huntington <rjh@mohawk.net>
To:        <freebsd-security@FreeBSD.ORG>
Subject:   Re: pam session failing
Message-ID:  <20010802103228.H89488-100000@mohegan.mohawk.net>
In-Reply-To: <20010802093505.Q61813-100000@mohegan.mohawk.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010802103228.H89488-100000>