Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2006 22:47:01 -0500 (EST)
From:      user <user@dhp.com>
To:        Wojciech Puchar <wojtek@tensor.3miasto.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how should I (best practice) set up permissions for rsync ?
Message-ID:  <Pine.LNX.4.21.0601102128120.8684-100000@shell.dhp.com>
In-Reply-To: <20060111020418.U66079@chylonia.3miasto.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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 ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0601102128120.8684-100000>