From owner-freebsd-stable@FreeBSD.ORG Wed Aug 2 06:35:47 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DF8816A4F5 for ; Wed, 2 Aug 2006 06:35:47 +0000 (UTC) (envelope-from gshapiro@gshapiro.net) Received: from gir.gshapiro.net (gir.gshapiro.net [209.246.26.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54C2743D60 for ; Wed, 2 Aug 2006 06:35:44 +0000 (GMT) (envelope-from gshapiro@gshapiro.net) Received: from gir.gshapiro.net (localhost [127.0.0.1]) by gir.gshapiro.net (8.13.5/8.13.6) with ESMTP id k726ZgWB030379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Aug 2006 23:35:43 -0700 (PDT) (envelope-from gshapiro@gir.gshapiro.net) X-DKIM: Sendmail DKIM Filter v0.5.1 gir.gshapiro.net k726ZgWB030379 Received: (from gshapiro@localhost) by gir.gshapiro.net (8.13.5/8.13.6/Submit) id k726ZguO030378; Tue, 1 Aug 2006 23:35:42 -0700 (PDT) (envelope-from gshapiro) Date: Tue, 1 Aug 2006 23:35:42 -0700 From: Gregory Shapiro To: Chris Message-ID: <20060802063542.GE8586@gir.gshapiro.net> References: <3aaaa3a0608012324w1408b46cx46254f3697289fdb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3aaaa3a0608012324w1408b46cx46254f3697289fdb@mail.gmail.com> User-Agent: Mutt/1.5.12-2006-07-14 Cc: stable@freebsd.org Subject: Re: named rc.d X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 06:35:47 -0000 > Apologies if posted to wrong list, the rc.d script for named chowns > /etc/namedb to root:wheel if set to bind:bind why is this? A slave > named server running as bind user cannot download new slave zones if > dir ownership is root or update it if file ownerships are root which I > sometimes see. Slave zones should be put in the slave subdirectory which is owned by bind. You want as few directories/files owned by the bind "run as" user as possible to prevent damage if that user becomes compromised.