rsync from Ubuntu to Ubuntu as root, possible?
Derek Broughton
news at pointerstop.ca
Thu Jul 12 12:33:44 UTC 2007
Fajar Priyanto wrote:
> Hi all,
> I'm new to Ubuntu, and I'm aware that it's root account is not active and
> that we should use sudo. But, I need to do an rsync from Ubuntu to Ubuntu
> as root. Is it possible, or should I activate the root account?
> Example:
> sudo rsync -e ssh root at 10.0.0.19:/var/lib/samba /var/lib/samba
It's hard to imagine the case where you would "need" to use root for an
rsync. Generally speaking, we don't allow root to use ssh.
How about using NFS to mount the remote /var/lib/samba?
--
derek
More information about the ubuntu-users
mailing list