Quite correct: everything should be installed in your Fink tree by a Fink package (except for a few things that have to be handled at the system level).

The daemon is supposed to be set up to run automatically as part of the package's installation process.

If you run "dpkg -L denyhosts-py25" you'll find /sw/bin/denyhosts- py25.py , which should be executable.

On May 8, 2008, at 7:30 PM, glenn millhauser wrote:

Thanks, Laine. However, my Fink installation seems to have set up things differently. I don't have a /usr/share/denyhosts directory. Instead, I have a /sw/etc/daemons directory containing the file denyhosts-py25.xml. All files have been installed under /sw. For example, the denyhosts.cfg file is in /sw/etc/denyhosts-py25 directory. Does this make sense to you and, if so, do you know how to launch the daemon?
thanks


On May 8, 2008, at 11:43 AM, Laine Lee wrote:

On 5/6/08 7:04 PM, "glenn millhauser" <[EMAIL PROTECTED]> wrote:

1) I found instructions that only involve editing the sshd_config
file.  Is this sufficient?


I think the editing of the sshd_config file is what is needed to make it work on a standard (non-server) Tiger system. Most of what you need for setup is found in the denyhosts FAQ. Once you've configured it, you should be able to get some information by running the start and stop commands. I think you might want to use Lingon to create a launchd item rather than cron. It's fairly straighforward to set up a startup item with Lingon.

The start and stop commands are (depending on your configuration - I didn't
install this particular solution using Fink):

/usr/share/denyhosts/daemon-control start

/usr/share/denyhosts/daemon-control stop

It should be possible to get further help by using the resources available
at denyhosts.sourceforge.net.


 http://article.gmane.org/gmane.os.apple.fink.beginners/19292/match=denyhosts

2) Elsewhere, I've seen that one has to also edit the crontab file.
Can I skip this and just do step 1?


I'd suggest that you make configuration customizations first using Robert's message and the denyhosts FAQ, then see whether denyhosts is working using the start and stop commands, then use launchd (Lingon handles that well), or
cron, or the startup method of your choice.


3)  Part of the instructions of step one involves the sshd_config
settings

PasswordAuthentication no
UsePAM yes
UseDNS no
If the UsePAM somehow doesn't work right, will setting
"PasswordAuthentication no" leave my computer open to random logins?

I don't think so.

Laine Lee




Glenn L. Millhauser
Department of Chemistry & Biochemistry
UC Santa Cruz
Santa Cruz, CA 95064
831 459 2176 voice
831 566 3337 cell
831 459 2935 fax

http://chemistry.ucsc.edu/~glennm
http://www.chemistry.ucsc.edu/faculty/millhauser.html


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to