Double-check that /usr/local/bin/rsync is the correct path to rsync on
that machine. Also check that it is the same path that backuppc is
trying to use. I see /usr/bin/rsync in the command below, but I'm not
sure offhand if that is referring to the local path or the remote path.
Bowie
On 12/2/2015 5:08 PM, Brad Alexander wrote:
Hi Carl,
My /usr/local/etc/sudoers.d/backuppc is identical to the one on my
other freebsd box:
cat /usr/local/etc/sudoers.d/backuppc
Cmnd_Alias BACKUP=/usr/bin/tar, /usr/local/bin/rsync
backuppc ALL=NOPASSWD:BACKUP
On Wed, Dec 2, 2015 at 4:35 PM, Carl Wilhelm Soderstrom
<[email protected] <mailto:[email protected]>> wrote:
On 12/02 04:10 , Brad Alexander wrote:
> Okay, this is probably blindingly obvious, but I just changed my
wife's
> machine over from linux to pc-bsd. I am seeing the following
when I try to
> run the backup:
>
> backuppc@farragut:~/tmp$ /usr/bin/ssh -q -x valiant sudo
/usr/bin/rsync
> --server --sender --numeric-ids --perms --owner --group -D --links
> --hard-links --times --block-size=2048 --recursive
--checksum-seed=32761
> --ignore-times . /
>
> We trust you have received the usual lecture from the local System
> Administrator. It usually boils down to these three things:
>
> #1) Respect the privacy of others.
> #2) Think before you type.
> #3) With great power comes great responsibility.
>
> sudo: no tty present and no askpass program specified
What does your /etc/sudoers file on the remote side look like?
I presume you're meaning to log in as the 'backuppc' user on the
remote
side.
Your sudoers entry should look something like:
backuppc ALL= NOPASSWD: /usr/bin/rsync
(Obviously depenting on the path to rsync).
--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com <http://www.real-time.com>
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for
multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
BackupPC-users mailing list
[email protected]
<mailto:[email protected]>
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/