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

Re: /etc/hosts.deny



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!



Reply to: