Auto start denyhosts at startup

Keith Clark keithclark at k-wbookworm.com
Thu Jul 9 18:07:07 UTC 2009


On Thu, 2009-07-09 at 18:53 +0100, sam tygier wrote:
> Keith Clark wrote:
> > On Wed, 2009-07-08 at 10:01 +0100, sam tygier wrote:
> >> Keith Clark wrote:
> >>> How do I auto start the denyhosts daemon when I boot up.  I have to
> >>> execute the program as root.  I installed it via synaptic.
> >> if you have installed it with synaptic then it should start automatically. what do you see if you run:
> >> ps aux | grep denyhost
> >> i have never needed to do any extra configuration.
> >>
> >> sam
> >>
> >>
> > 
> > keithclark at HP1211N:~$ ps aux | grep denyhost
> > root      2900  0.0  0.1  56052  7796 ?        S    07:31   0:00
> > python /usr/sbin/denyhosts --daemon --purge --config=/etc/denyhosts.conf
> > --config=/etc/denyhosts.conf
> > root      6650  0.0  0.1  49996  7756 ?        S    07:39
> > 0:00 /usr/bin/python /usr/sbin/denyhosts --daemon --verbose
> > --config=/etc/denyhosts.conf
> > 1000     22749  0.0  0.0   7528   920 pts/0    S+   14:30   0:00 grep
> > denyhost
> 
> So you have it running twice.
> 
> 

That is what it looked like to me.  Not sure how.

But, in any case, how to remove now?  Maybe remove both and start from
scratch?

Keith






More information about the ubuntu-users mailing list