[clue] Rsync and root

Will will.sterling at gmail.com
Thu Nov 3 20:31:08 MDT 2011


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.

http://pkeck.myweb.uga.edu/ssh/

On Thu, Nov 3, 2011 at 7:51 PM, Jason Friedman <jason at powerpull.net> wrote:

> I am wanting to synchronize two filesystems, probably with rsync, and
> I want to include owner/group/permissions as part of the
> synchronization.
> Files could be owned by anyone, so ideally the command would be issued as
> root.
> For root to connect to another host as root, absent someone typing a
> password, SSH keys could be exchanged, or one can use RSH and .rhosts
> (unencrypted).
> If my organization discourages the use of RSH and discourages the use
> of exchanging root's keys (but accepts the exchanging of non-root
> keys), what are my options?
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20111103/44993946/attachment.html 


More information about the clue mailing list