LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2010, 09:50 PM   #1
adaml
LQ Newbie
 
Registered: Apr 2010
Location: Adelaide, Australia
Distribution: Fedora 12
Posts: 2

Rep: Reputation: 0
denyhosts won't automatically startup (Fedora 12)


Hi all,

I have recently installed denyhosts to help guard against bruteforce ssh attacks on my Fedora 12 server from the Fedora repositories. If I manually start denyhosts (as root) using:

/usr/sbin/denyhosts.py --daemon

it works fine. The denyhosts log file is created and indeed the /etc/hosts.deny file is updated. However if I make attempts to start denyhosts automatically upon the server restart denyhost fails with a permission denied error for /etc/hosts.deny (error 13)

I have tried using chkconfig to enable /etc/init.d/denyhosts on run levels 3, 4 and 5. I have also tried including the line:

/usr/sbin/denyhosts.py --daemon

in /etc/rc.local Both of these attepts report the same error. Can anyone suggest a way to automatically start denyhosts or know why this problem might be happening?
 
Old 07-12-2010, 10:14 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
a question?
you do know that fedora 12 will hit end of life in 6 months ? and you WILL need to install fedora 14 at that time .
this is a lot of work for a server. reinstalling the OS every 6 months when fedora releases a new version. I would recommend using a LONG life distro -- something with 5 to 7 years of support ( and not the 13month support that fedora has)
 
  


Reply

Tags
denyhosts, ssh



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can Fedora run automatically a Terminal command at the startup? cesar7160 Fedora 4 05-19-2009 11:54 AM
How to automatically connect on startup? PerfectReign Linux - Wireless Networking 6 09-16-2005 01:44 AM
Any way to startup daemon automatically? Niceman2005 Linux - Newbie 2 01-12-2005 09:27 PM
How do I get Fedora to automatically run a command during startup? jlsain Linux - Software 2 03-23-2004 04:03 AM
startup the service automatically ashley75 Linux - General 4 09-24-2003 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration