rsync from Ubuntu to Ubuntu as root, possible?
Derek Broughton
news at pointerstop.ca
Thu Jul 12 22:20:07 UTC 2007
Felipe Figueiredo wrote:
> On Thursday 12 July 2007 09:33:44 Derek Broughton wrote:
>> 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.
>
> Actually, Debian's default is to allow ssh for root. Ubuntu incorporates
> it.
Perhaps - I don't speak for Ubuntu. _We_ don't allow root to use ssh, and I
think that's good security policy.
>
> All the OP has to do, is enable a root password in the remote machine, and
> use sudo in the local machine.
Which, of course, is no better than doing it on his own machine.
--
derek
More information about the ubuntu-users
mailing list