From owner-freebsd-security@FreeBSD.ORG Tue May 27 12:39:16 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D988837B401 for ; Tue, 27 May 2003 12:39:16 -0700 (PDT) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37CF543F3F for ; Tue, 27 May 2003 12:39:16 -0700 (PDT) (envelope-from metrol@metrol.net) Received: from metlap (adsl-67-121-60-9.dsl.anhm01.pacbell.net [67.121.60.9]) h4RJdEPg130164 for ; Tue, 27 May 2003 15:39:15 -0400 From: Michael Collette To: FreeBSD Security Date: Tue, 27 May 2003 12:38:27 -0700 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305271238.27152.metrol@metrol.net> Subject: Re: multihost master.passwd sync X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 19:39:17 -0000 On Tuesday 27 May 2003 12:31 pm, Andy Harrison wrote: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > On 27-May-2003, Eric Anderson wrote message "Re: multihost master.passwd > sync" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >> Because we don't allow root login remotely, mandated from above. > > > > so you scp the file to a directory owned by a user designated to only do > > this function.. then have a cron job that fires up every so often that > > snags that file and updates the running master.passwd file.. > > Root can't scp a file from one host to another where remote root login is > not allowed. That's not what Eric was suggesting. You use a non-root user account to do the xfer. You then have a root owned cron job that puts the xfer'd file in place. Root never moves anything across the network. Later on, -- "Always listen to experts. They'll tell you what can't be done, and why. Then do it." - Robert A. Heinlein