From owner-freebsd-questions@FreeBSD.ORG Wed Jan 11 00:52:18 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 4AE1516A41F for ; Wed, 11 Jan 2006 00:52:18 +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 05EB143D46 for ; Wed, 11 Jan 2006 00:52:17 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 5078B312FA; Tue, 10 Jan 2006 19:52:16 -0500 (EST) Date: Tue, 10 Jan 2006 19:52:16 -0500 (EST) From: user To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 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 00:52:18 -0000 Hi, I want to rsync /usr/home from one machine to another, for purposes of backup. This would be a cinch if I just rsyncd -e ssh, as user "root" from one machine to another. The cron job runs with root perms, and the destination machine gets logged into as root and can write into the destination /usr/home. However, I sort of like the idea that root cannot ssh directly into a freebsd machine, by default. I am inclined not to change this. I also would like to keep default /usr/home permissions as they are. So how should I do this ? Thanks.