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

Jacob Martinson jmartinson at
Fri Sep 7 05:24:07 EST 2001

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