Update:  I was able to use visudo to add the following line:
backuppc ALL=NOPASSWD: /usr/local/bin/rsync

I am now able to run "sudo /usr/local/bin/rsync" when SSHed in without
being prompted for a password.  I've also manually specified the rsync
path of rsync in the RsyncClientCmd but I still get a "connection
reset by peer" error when running.

On Sun, Nov 1, 2020 at 3:39 PM Steve Zemlicka <stevezemli...@gmail.com> wrote:
>
> I am having trouble getting rsync to initialize without requiring
> password.  I have setup ssh passwordless login and verified this is
> working from the backuppc server.  However if I then sudo rsync (or
> sudo /usr/bin/rsync), I am prompted for a password.  Does anyone have
> a link to this specific issue or know off hand how to enable this on
> BSD (FreeNAS)?


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to