Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.
Moderator: General Moderators
-
impulse()
- Forum Regular
- Posts: 748
- Joined: Wed Aug 09, 2006 8:36 am
- Location: Staffordshire, UK
-
Contact:
Post
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,
-
Jenk
- DevNet Master
- Posts: 3587
- Joined: Mon Sep 19, 2005 6:24 am
- Location: London
Post
by Jenk »
Which distro?
-
impulse()
- Forum Regular
- Posts: 748
- Joined: Wed Aug 09, 2006 8:36 am
- Location: Staffordshire, UK
-
Contact:
Post
by impulse() »
Fedora Core 5
-
volka
- DevNet Evangelist
- Posts: 8391
- Joined: Tue May 07, 2002 9:48 am
- Location: Berlin, ger
Post
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.
-
ibbo
- Forum Commoner
- Posts: 51
- Joined: Tue Sep 19, 2006 6:20 am
Post
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