Page 1 of 1

Adding items to startup

Posted: Wed Oct 04, 2006 10:16 am
by impulse()
I have a Python script called Denyhosts that I want to run each time my box boots up. Where do I add the execution line to?

Regards,

Posted: Wed Oct 04, 2006 10:34 am
by Jenk
Which distro?

Posted: Thu Oct 05, 2006 6:19 am
by impulse()
Fedora Core 5

Posted: Thu Oct 05, 2006 6:37 am
by volka
Did you install DenyHosts from a Fedora repository as mentioned in http://denyhosts.sourceforge.net/faq.html#1_14 ?

There's a README.txt in the DenyHosts archive that tells you what to do.

Posted: Thu Oct 05, 2006 9:18 am
by ibbo
As root issue ' /sbin/chkconfig denyhosts on'

check it with

' /sbin/chkconfig --list | grep deny'

should give

denyhosts 0 off 1 off 2 on 3 on 4on 5 on 6off

Ibbo