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

Re: bind9 daemon owner [solved]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ghe wrote:

> On one of my servers, bind9 has started running as root; it won't start
> from init.d (permission denied when it tries to open its pid file --
> Webmin or the CL start it, but it runs as root); and it can't update
> slave zones because it can't write to the zone file directories (unless
> I change the permissions to 777).
> 
> As far as I know, all the files except the named config and zone files
> are from the bind9 package.
> 
> I apparently did something, inadvertently, to make this happen. And I
> can't figure out what. Anybody got any ideas what I might have done?


No it isn't -- it was root because I didn't start it from init.d. I
changed the line in the init script that set the pid directory
permissions from 776 to 777, and init.d/bind9 will start it. But the
group is 'powerdev'

...

Never mind. /etc/group was bent. It was putting user bind into group
powerdev instead of bind...

- --
Glenn English
ghe@slsware.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknTq8sACgkQ04yQfZbbTLZ7jQCgh4nyuPr0vPCWq79WZFynXfMq
yTEAoLYOQlQDY4rh+W7uvId4eNqU63H3
=BzHh
-----END PGP SIGNATURE-----


Reply to: