<div>Use single purpose SSH keys, connect as a non-root user with an autharized key.  When that key is used it runs sudo and starts rsync as root.</div><div> </div><div><a href="http://pkeck.myweb.uga.edu/ssh/">http://pkeck.myweb.uga.edu/ssh/</a><br>
<br></div><div class="gmail_quote">On Thu, Nov 3, 2011 at 7:51 PM, Jason Friedman <span dir="ltr">&lt;<a href="mailto:jason@powerpull.net">jason@powerpull.net</a>&gt;</span> wrote:<br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
I am wanting to synchronize two filesystems, probably with rsync, and<br>
I want to include owner/group/permissions as part of the<br>
synchronization.<br>
Files could be owned by anyone, so ideally the command would be issued as root.<br>
For root to connect to another host as root, absent someone typing a<br>
password, SSH keys could be exchanged, or one can use RSH and .rhosts<br>
(unencrypted).<br>
If my organization discourages the use of RSH and discourages the use<br>
of exchanging root&#39;s keys (but accepts the exchanging of non-root<br>
keys), what are my options?<br>
_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br>
</blockquote></div><br>