help with hosts.allow -hosts.deny

From: LinuxNewbie (linuxnewbie_at_dotopenjoist2000.com)
Date: 09/30/03


Date: Tue, 30 Sep 2003 11:57:01 -0400

Greatings,

I'm having a little trouble understanding how those files work. I have tried
looking at man hosts.allow, hosts.deny.

I saw that you needed to put service:host

So I put in hosts.allow

sendmail:all
ftpd:all
httpd:all
sshd:all
vsftpd:all

in hosts.deny

all:all

So it denies all, except services put in allow, right?

There seems to be a flaw in my logic, maybe I am using the wrong names for
services? I'm running Red Hat 9. And am a bit new to the world of linux.

Thank you for any help possible,
Mikey



Relevant Pages