rsync over ssh -l non_root_user to sync /etc/passwd

Zhang, Anchi AZhang at
Fri Sep 7 05:32:28 EST 2001

Unfortunately, there will be other files and directories that require
root privilege on the target machine.  -anchi

-----Original Message-----
From: Jacob Martinson [mailto:jmartinson at]
Sent: Thursday, September 06, 2001 2:24 PM
To: Zhang, Anchi
Cc: rsync at
Subject: Re: rsync over ssh -l non_root_user to sync /etc/passwd

If those are the only two files you are required to copy, you may want
to look at a combination of scp and sudo.


On Thu, Sep 06, 2001 at 02:11:21PM -0500, Zhang, Anchi wrote:
> Greetings,
> I am required to use rsync over ssh.  However, sshd is configured with
> "PermitRootLogin no" and the files to be synced up are /etc/passwd and
> /etc/shadow.  Is there a workaround?
> Anchi

More information about the rsync mailing list