From owner-freebsd-current Sun Feb 16 3:35:27 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFF4537B401 for ; Sun, 16 Feb 2003 03:35:25 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6B6343F3F for ; Sun, 16 Feb 2003 03:35:24 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.7/8.12.7) with ESMTP id h1GBZNEJ000336; Sun, 16 Feb 2003 14:35:23 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.7/8.12.6/Submit) id h1GBZNNK000335; Sun, 16 Feb 2003 14:35:23 +0300 (MSK) (envelope-from ache) Date: Sun, 16 Feb 2003 14:35:23 +0300 From: "Andrey A. Chernov" To: Mark Murray Cc: Dag-Erling Smorgrav , current@FreeBSD.ORG Subject: Re: OPIE breakage: backout & patch for review Message-ID: <20030216113523.GD99812@nagual.pp.ru> References: <20030216102738.GA99367@nagual.pp.ru> <200302161121.h1GBLFaX031285@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302161121.h1GBLFaX031285@grimreaper.grondar.org> User-Agent: Mutt/1.5.1i 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 On Sun, Feb 16, 2003 at 11:21:15 +0000, Mark Murray wrote: > > Does the ""-as-localhost-alias break other PAM modules? No, it is local variable for that module. > In what way does "localhost" or NULL break OPIE? Look into any pre-PAM code which use OPIE, like login code. Host (rhost) is only set to some name for non-local logins. Local logins set it to "" The comment in the OPIE accessfile.c confirms it too. If you set host to "localhost" or NULL, it not recognized as localhost inside OPIE code, i.e. in the accessfile.c, so some functionality (like always allowing localhost) will be lost. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message