From owner-cvs-all Sat Feb 15 15:48:34 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2732037B409; Sat, 15 Feb 2003 15:48:33 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 928A143F3F; Sat, 15 Feb 2003 15:48:31 -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 h1FNmUEJ072581; Sun, 16 Feb 2003 02:48:30 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.7/8.12.6/Submit) id h1FNmUMs072580; Sun, 16 Feb 2003 02:48:30 +0300 (MSK) (envelope-from ache) Date: Sun, 16 Feb 2003 02:48:30 +0300 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/login login.c Message-ID: <20030215234830.GG72156@nagual.pp.ru> References: <200302152316.h1FNGfUQ023858@repoman.freebsd.org> <20030215233741.GB72156@nagual.pp.ru> <20030215234446.GE72156@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030215234446.GE72156@nagual.pp.ru> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@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 02:44:46 +0300, Andrey A. Chernov wrote: > On Sun, Feb 16, 2003 at 00:41:48 +0100, Dag-Erling Smorgrav wrote: > > "Andrey A. Chernov" writes: > > > I think it is already works, empty host treated as localhost in > > > opieaccess() and local logins already allowed by default with no special > > > setup required. > > > > No, that is not the case. > > if (!host[0]) > /* Local login, okay */ > return (1); I mean it was in accessfile.c for ages and your explicit "localhost" break this code too. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message