I've installed denyhosts on a 10.3.9 system. I want to ensure that
denyhosts launches at startup.
When trying to manually start the daemon, I get:
ns1:/usr/share/denyhosts root# ./daemon-control start
starting DenyHosts: /usr/bin/env python
/Library/Frameworks/Python.framework/Versions/2.5/bin/denyhosts.py
--daemon --config=/usr/share/denyhosts/denyhosts.cfg
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.5/bin/denyhosts.py",
line 5, in ?
import DenyHosts.python_version
ImportError: No module named DenyHosts.python_version
Did something go wrong with the installation? There is no
"DenyHosts.python_version" anywhere that I can find.
Until this problem is resolved, my StartupItem will probably not
work. Can any of you OS X users tell me if the following StartupItem
will work?
file - DenyHosts:
#!/bin/sh
. /etc/rc.common
ConsoleMessage "Starting Denyhosts"
sudo /usr/share/denyhosts/daemon-control start
file - StartupParameters.plist:
{
Description = "DenyHosts";
Provides = ("DenyHosts Damon Control");
Requires = ("Network");
OrderPreference = "Late";
Messages =
{
start = "Starting DenyHosts";
stop = "Stopping DenyHosts";
};
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user