Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2006 19:52:16 -0500 (EST)
From:      user <user@dhp.com>
To:        freebsd-questions@freebsd.org
Subject:   how should I (best practice) set up permissions for rsync ?
Message-ID:  <Pine.LNX.4.21.0601101950091.8684-100000@shell.dhp.com>

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

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.




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