Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 17:40:25 +0000
From:      Robert Slade <bsd@bathnetworks.com>
To:        user <user@dhp.com>
Cc:        Wojciech Puchar <wojtek@tensor.3miasto.net>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: how should I (best practice) set up permissions for rsync ?
Message-ID:  <1137001225.4076.16.camel@lmail.bathnetworks.co.uk>
In-Reply-To: <Pine.LNX.4.21.0601102128120.8684-100000@shell.dhp.com>
References:  <Pine.LNX.4.21.0601102128120.8684-100000@shell.dhp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2006-01-11 at 03:47, user wrote:
> 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 ?

If you don't want to log on as root, then you can run a rsync as each
user as say a user cron job.

Just a thought

Rob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1137001225.4076.16.camel>