rsync from Ubuntu to Ubuntu as root, possible?

Cedric cedric.dewijs at tiscali.nl
Thu Jul 12 15:58:30 UTC 2007


On Thursday 12 July 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
> Thanks.

Hi,

I use the following construction:
cedric at athlon:~$ sudo -i
Password:
root at athlon:~# #do root stuff
root at athlon:~# exit
logout
cedric at athlon:~$

I never needed the "real" root account.

Regards,
Cedric
-- 
The only stupid question is the one you don't ask




More information about the ubuntu-users mailing list