Denyhosts on CentOS 4.3

Discussion in 'HOWTO-Related Questions' started by rawoo, May 9, 2006.

  1. rawoo

    rawoo New Member

    I want to install the latest version of Denyhosts on CentOS 4.3. Has anyone tried this yet? The latest version of Denyhosts is 2.4, and it requires python 2.4, but installation of the latest python breaks yum and up2date. Any ideas?
     
  2. falko

    falko Super Moderator

    Have you used yum to search for CentOS python packages? Run
    Code:
    yum search python
    What's the output?
     
  3. rawoo

    rawoo New Member

    Sorry for the wait. My first attempt with the latest version of python crashed yum. I had to do a fresh install of CentOS. Good thing I was only just starting to configure the system, and not in production.

    I ended up just doing a yum install python and then installing denyhosts per your how-to instructions. Even used the older version of denyhosts. Went without a hitch. Thanks anyway.
     
  4. digitalunltd

    digitalunltd New Member

  5. falko

    falko Super Moderator

    You can try
    Code:
    DENYHOSTS_LOCK = "/var/run/denyhosts.pid"
    in /usr/share/denyhosts/daemon-control.
     
  6. digitalunltd

    digitalunltd New Member

    ?

    /var/run/denyhosts.pid doesnt exist, should I still use that as the path? The last thing I want to do is mess up my ability to SSH connect.
     
  7. falko

    falko Super Moderator

    That file is created when you start DenyHosts. Please try.
     

Share This Page