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

Re: hosts.allow



On Fri, Sep 24, 2004 at 10:46:27AM +0530, Nayyar Ahmed wrote:
> Hello All,
> 
> I want to add an ip address 203.128.5.100
> to /etc/hosts.allow , please tel me wat will be the entry.??

$ apropos hosts
...
hosts_access (5)     - format of host access control files
...
$ man 5 hosts_access

Read it.

Maybe you want this:

/etc/hosts.allow:
ALL: 203.128.5.100

Now put on your absestos bunny suit - hosts.allow based access is
ridiculously insecure.  Use ssh/sftp/scp instead.

-- 
The world's most effective spam filter:
        ln -sf /dev/full /var/mail/$USER



Reply to: