[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/hosts.deny



uhh.. "killall -HUP inetd" is much easier ;)

On Sun, Apr 08, 2001 at 01:35:04PM -0500, will trillich (will@serensoft.com) wrote:
> On Sun, Apr 08, 2001 at 07:23:41PM +0200, Mario Vukelic wrote:
> > On 08 Apr 2001 19:10:42 +0200, Robert Voigt wrote:
> > > I forgot to mention that I did not forget to save the file and I rebooted the 
> > > machine.
> > 
> > After changes to these files you just need to do:
> > ps aux|grep initd (-> get the PID of initd)
> > kill -HUP PID-of-initd
> > 
> > No restart required
> 
> there's a utility
> 
> 	pidof
> 
> (from package sysvinit) that might facilitate this kind of thing:
> 
> 	% pidof apache
> 	17858 17659 17618 16916 16914 24490
> 	% pidof inetd
> 	26200
> 	% su
> 	# kill -HUP `pidof inetd`
> 
> note spelling of INETD versus INITD (which i presume is a typo)
> 
> -- 
> does a brain cell think?
> 
> will@serensoft.com
> http://sourceforge.net/projects/newbiedoc -- we need your brain!
> http://www.dontUthink.com/ -- your brain needs us!
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
- --
 tmd



Reply to: