[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349940: ssh: does not obey /etc/hosts.deny



On Thu, Jan 26, 2006 at 02:56:24PM -0600, Marcos Pinto wrote:
> hosts.allow has "ALL: *"
> I want everyone to have access except for those in hosts.deny.  Is
> that not the proper way?

The settings in hosts.allow have precedence over hosts.deny, so this 
entry is overriding your denial rules.  Since the default action is to 
allow, just remove that entry and it should start behaving as you 
expect.  This is documented in the "hosts_access" manpage.

Attachment: signature.asc
Description: Digital signature


Reply to: