SOLVED: Re: rsync from Ubuntu to Ubuntu as root, possible?
Fajar Priyanto
fajarpri at cbn.net.id
Sat Jul 14 15:07:47 UTC 2007
On Thursday 12 July 2007 13:52, 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
> Thanks.
Hello,
Thank you for all the responses. I guess debian developers have prepared for
this need. The solution is to use key-based authentication for ssh. That
simple. Cool!
Additional info:
Ssh-ing as root is permitted in Ubuntu. It is enabled by default
in: /etc/ssh/sshd_config: PermitRootLogin yes
Thanks.
--
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
10:07pm up 11:55, 2.6.18.2-34-default GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070714/cd541565/attachment.sig>
More information about the ubuntu-users
mailing list