Re: hosts.allow
Hello
Stefan O'Rear (<stefanor@cox.net>) wrote:
> On Fri, Sep 24, 2004 at 10:46:27AM +0530, Nayyar Ahmed wrote:
>>
>> 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.
You do know that the ssh server uses libwrap0 and /etc/hosts.{allow
deny}, right?
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html
Reply to: