> --rsync-path="sudo rsync"
Another way to achieve something similar would be to have PermitRoot
set
to without-password, and then set up a key pair for remote login. In
authorized_keys2, the remote access for this key pair can be limited
to
the rsync command.
When considering these, b
On Thu, 27 Aug 2009 16:30:55 +1200, Nathan Ward wrote:
> --rsync-path="sudo rsync"
Another way to achieve something similar would be to have PermitRoot set
to without-password, and then set up a key pair for remote login. In
authorized_keys2, the remote access for this key pair can be limited
On 27/08/2009, at 4:18 PM, Allistar wrote:
How do I enable a full backup of the remote server without allowing
root top
log in to ssh? Can I somehow get rsync to login as a normal user and
then
do some kind of "sudo" command?
--rsync-path="sudo rsync"
--
Nathan Ward
--
Please use reply-
Hi there,
I use this rsync command to backup "/" of a remote server:
rsync -Hav --delete --exclude-from=backup.excludes --delete-excluded -e "ssh -p
45658" r...@samwise:/ /mnt/backup/samwise/backup
Where:
samwise: is the name of the server (yes yes, I know, naming computer after
Hobbits may be