/var/run/ndc= is root

Mark.Andrews at iengines.com Mark.Andrews at iengines.com
Mon Dec 13 22:46:10 UTC 1999


> FreeBSD 3.4-RC
> bind 8.2.2-P5
> 
> bind  139  4.6 16.0 35240 20488  ??  Ss   Sun08AM  81:39.97 named -u bind -g 
> bind /etc/named.conf
> 
> but why is 
> 
> srw-------  1 root  wheel  0 Dec 12 08:57 /var/run/ndc=

	Because you have not told named to make it different.
	see controls

	Mark
> 
> this means that one can not run ndc from cron as bind.bind
> 
> ndc: error: ctl_client: evConnect(fd 3): Permission denied
> ndc: error: cannot connect to command channel (/var/run/ndc)
> 
> randy
> 
--
Mark Andrews, Internet Engines Inc. / Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at iengines.com


More information about the bind-users mailing list