From owner-freebsd-security Tue Mar 7 14: 0:39 2000 Delivered-To: freebsd-security@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 3697837C159 for ; Tue, 7 Mar 2000 14:00:37 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id OAA07843; Tue, 7 Mar 2000 14:32:06 -0800 (PST) Date: Tue, 7 Mar 2000 14:32:06 -0800 From: Alfred Perlstein To: Jason Jenkins Cc: freebsd-security@FreeBSD.ORG Subject: Re: hosts allow Message-ID: <20000307143206.K14279@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from jjenkins@skew2.kellogg.nwu.edu on Tue, Mar 07, 2000 at 03:53:15PM -0600 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Jason Jenkins [000307 14:27] wrote: > Hi I have a question regarding the hosts.allow file. I am trying to simply > deny everyone access, and only allow certain people to access my machine. > So this is what I did: > > > ALL : ALL : deny > ALL : hostname : allow > > However, that did not seem to work. It would not allow me to log in from > IP. Anything i am doing wrong? You have it backwards, it's a first match system, if you say deny all first it won't go any farther. Try swapping the entries. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message