I would like to use rsync-over-ssh to pull backups from many remote traget machines to a central backup.
I could do this as the root user, but that would allow me to accidentally run a bad rsync command which wrote to, or deleted from, a machine which should be being backed-up.
Is there anyway of putting a read-only-root user on the target machines?
The rsync command needs to be able to read any files on the target machines, but must not be able to write.