rsyncing as root when root login is disabled?

Wayne Davison wayned at samba.org
Sat Sep 16 19:46:03 GMT 2006


On Sat, Sep 16, 2006 at 10:40:45AM -0700, Joe Ruby wrote:
> $ rsync -av --progress --rsync-path='sudo
> /usr/bin/rsync' admin at mydomain.com:/backup/var var
> Password:12345

Make sure that the command "sudo rsync" does not prompt for a password,
as there is no way for it to connect to a terminal to get input.

..wayne..


More information about the rsync mailing list