Find the answer to your Linux question:
Results 1 to 2 of 2
Hi folks, Ubuntu 7.04 lamp server amd64 The files host.deny and host.allow can't be found. $ sudo find / -name hosts.deny $ sudo find / -name hosts.allow both w/o printout ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,808

    host.deny and host.allow not found


    Hi folks,


    Ubuntu 7.04 lamp server amd64


    The files host.deny and host.allow can't be found.

    $ sudo find / -name hosts.deny
    $ sudo find / -name hosts.allow
    both w/o printout

    $ sudo iptables -L
    Code:
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    How to create them? TIA

    Edit:

    I found following guide;
    HOWTO: Installing DenyHosts - Ubuntu Forums

    I'll create host.deny and host.allow according to its steps.

    Further suggestion/advice would be appreciated.


    B.R.
    satimis

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    477
    /etc/hosts.allow
    /etc/hosts.deny

    note the 's's on "hosts": twice in yr post you omit them
    the sun is new every day (heraclitus)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •