Date: 30 Jan 2001 14:28:13 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Borja Marcos <borjamar@sarenet.es>, freebsd-security@freebsd.org Subject: Re: More bind8 ports problems Message-ID: <xzpitmx6ufm.fsf@flood.ping.uio.no> In-Reply-To: Kris Kennaway's message of "Tue, 30 Jan 2001 02:31:31 -0800" References: <3A7695CB.7E2F7CBB@sarenet.es> <20010130023131.A50095@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kris@obsecurity.org> writes: > On Tue, Jan 30, 2001 at 11:22:03AM +0100, Borja Marcos wrote: > > Another problem: I have tried to run named as a "bind" > > user, but if I restart it with ndc, the new named runs as "root". > Don't know there. 'ndc restart' restarts named with no arguments, unless you pass them with the 'restart' command: # ndc restart -ubind -gbind -t/home/bind Use the following script instead: #!/bin/sh if [ -f /etc/defaults/rc.conf ] ; then . /etc/defaults/rc.conf fi if [ -n "${source_rc_confs_defined}" ] ; then source_rc_confs elif [ -f /etc/rc.conf ] ; then . /etc/rc.conf else echo "Where's your configuration?" exit 1 fi killall -KILL named ${named_program:-named} ${named_flags} DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpitmx6ufm.fsf>