HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Denyhosts on CentOS 4.3 (http://www.howtoforge.com/forums/showthread.php?t=4165)

rawoo 9th May 2006 02:43

Denyhosts on CentOS 4.3
 
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?

falko 9th May 2006 17:34

Have you used yum to search for CentOS python packages? Run
Code:

yum search python
What's the output?

rawoo 10th May 2006 03:01

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.

digitalunltd 1st January 2007 09:07

Config files
 
Where are:

DENYHOSTS_BIN = "/usr/local/bin/denyhosts.py" # looks right
DENYHOSTS_LOCK = # I have no idea

from: http://www.howtoforge.com/preventing...ts_per_page=10

This might be a dumb question, but im new to linux. Any help would be much appreciated.

falko 2nd January 2007 18:13

You can try
Code:

DENYHOSTS_LOCK = "/var/run/denyhosts.pid"
in /usr/share/denyhosts/daemon-control.

digitalunltd 3rd January 2007 05:19

?
 
/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.

falko 4th January 2007 15:08

Quote:

Originally Posted by digitalunltd
/var/run/denyhosts.pid doesnt exist, should I still use that as the path?

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


All times are GMT +2. The time now is 09:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.