On Sat, 23 Jun 2007 00:00:47 -0700
"Helena Zhang" <[EMAIL PROTECTED]> wrote:

> I'm running FreeBSD and want to automatically start Denyhosts when the
> computer boots. The methods in the readme don't seem to apply to
> FreeBSD. What would be the easiest way to do this? I tried adding it
> to /etc/rc.d/ but it didn't work.

In FreeBSD, /etc/rc.d is only for base stuff.  Ported applications are
rooted in /usr/local (or where you configured them to be), so does
Denyhosts:

% ls -l /usr/local/etc/rc.d/
...
-r-xr-xr-x   1 root  wheel   451B Jan 30 17:57 denyhosts*
...

That is the rc.d script.  Getting it to start automatically is just a
matter of adding its enable variable in /etc/rc.conf:

        denyhosts_enable="YES"

My configuration file is /usr/local/etc/denyhosts.conf, and I have this
setup working nicely for more than a year.

Hope that helps.  :)

-- 
Ricardo Nabinger Sanchez                   [EMAIL PROTECTED]
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to