Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 14:32:06 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Jason Jenkins <jjenkins@skew2.kellogg.nwu.edu>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: hosts allow
Message-ID:  <20000307143206.K14279@fw.wintelcom.net>
In-Reply-To: <Pine.HPP.3.95.1000307155027.20382A-100000@skew2.kellogg.nwu.edu>; from jjenkins@skew2.kellogg.nwu.edu on Tue, Mar 07, 2000 at 03:53:15PM -0600
References:  <Pine.HPP.3.95.1000307155027.20382A-100000@skew2.kellogg.nwu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jason Jenkins <jjenkins@skew2.kellogg.nwu.edu> [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




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