rsync from Ubuntu to Ubuntu as root, possible?
Felipe Figueiredo
philsf79 at gmail.com
Thu Jul 12 18:34:18 UTC 2007
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.
All the OP has to do, is enable a root password in the remote machine, and use
sudo in the local machine.
regards
FF
--
- Porque quebra a linha de leitura.
- Por que não é bom escrever o reply em cima do email?
More information about the ubuntu-users
mailing list