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

Re: Whom the BIND newest vulnerability concerns?



On Wed, Nov 17, 1999 at 05:57:14AM +1100, Herbert Xu wrote:
> On Tue, Nov 16, 1999 at 11:55:47AM +0100, Russell Coker wrote:
> > 
> > To do this properly you should kill the daemon as the user it runs under.  So
> > to stop the LDAP server you would do:
> > sudo -u ldap kill `cat /var/run/slapd.pid`
> 
> Not if there daemons that are running as root and writing pid files to
> /var/run.

Note that the latest start-stop-daemon has a new --chuid and --makepid
option to help handle these things. The init script will need to remove
the pid file once there is a succesful stop (unless the daemon already
handles this of course).

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`     bcollins@debian.org  -  collinbm@djj.state.va.us  -  bmc@visi.net    '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


Reply to: