Fajar Priyanto wrote:
On Thursday 30 March 2006 10:56 pm, Jason L Tibbitts III wrote:
I have a few comments about the article. (I package denyhosts for
Fedora Extras.)
You install it via yum, and at that point it is actually configured.
A proper config file is already in /etc/denyhosts.cfg, although you
can of course tweak it. And there's no need to copy anything into
/etc/init.d, because it's already set up.
So the procedure is just:
yum install denyhosts
(edit /etc/denyhosts.cfg to your liking)
chkconfig denyhosts on
service denyhosts start
If you prefer to run denyhosts from cron instead of as a daemon, you
can edit /etc/sysconfig/denyhosts and follow the instructions there.
Other info related to the Fedora package is in
/usr/share/doc/denyhosts*/README.fedora
Thanks Jason for the correction.
But, strange, I don't have /etc/denyhosts.cfg.
rpm -qa | grep denyhosts
denyhosts-2.2-1.2.fc4.rf
Also the initscript is not installed too.
That's why I set it up manually then.
That'll be because you've got the rpmforge version of the package rather
than the Fedora Extras one.
Paul.