From owner-freebsd-current Mon Jan 21 8:14:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 53F2437B400; Mon, 21 Jan 2002 08:14:26 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 37379532C; Mon, 21 Jan 2002 17:14:25 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Andrey A. Chernov" Cc: markm@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: pam_opie(8) prompt References: <20020121142901.GA36594@nagual.pp.ru> <20020121150716.GA36954@nagual.pp.ru> <20020121152134.GA37234@nagual.pp.ru> From: Dag-Erling Smorgrav Date: 21 Jan 2002 17:14:24 +0100 In-Reply-To: Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > OK, now I'm really off my rocker; pam_conv_pass() (called by > pam_get_pass()) does set PAM_AUTHTOK. I still don't understand why > it's NULL by the time pam_unix(8) calls pam_get_pass(). I'll > investigate further. I found the bug: login(1) only sets PAM_RHOST if the user is logging in from a remote host, but it should be set to the local hostname if the user is logging in locally. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message