From owner-freebsd-questions@FreeBSD.ORG Wed Jan 11 03:47:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81AF916A41F for ; Wed, 11 Jan 2006 03:47:03 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4142B43D45 for ; Wed, 11 Jan 2006 03:47:03 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id BABC7312F5; Tue, 10 Jan 2006 22:47:01 -0500 (EST) Date: Tue, 10 Jan 2006 22:47:01 -0500 (EST) From: user To: Wojciech Puchar In-Reply-To: <20060111020418.U66079@chylonia.3miasto.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: how should I (best practice) set up permissions for rsync ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 03:47:03 -0000 On Wed, 11 Jan 2006, Wojciech Puchar wrote: > > Hi, > > > > I want to rsync /usr/home from one machine to another, for purposes of > > backup. > > > > i do: > > rsync -e "rsh" -avzrlHpogDtS --delete --delete-excluded --force > \ --exclude-from=../$1-exclude root@$1:/ . > > where $1 is server name Yeah ... I know how to do that ... I wasn't asking how to rsync it, I was asking how I could: a) keep remote root logins _disabled_ and b) keep default freebsd permissions on the /usr/home directory and still do the rsync ... in your example, you are remotely logging in as root, which I want to avoid. Any suggestions ?