BackupPC-users

Re: [BackupPC-users] rsync via ssh and sudo aborted: "fatal error during xfer (Unable to read 4 bytes)"

2008-04-28 09:18:18
Subject: Re: [BackupPC-users] rsync via ssh and sudo aborted: "fatal error during xfer (Unable to read 4 bytes)"
From: Rob Owens <rob.owens AT biochemfluidics DOT com>
Date: Mon, 28 Apr 2008 09:17:58 -0400
Ryan Manikowski wrote:
> Guido,
> 
> The "--server --sender" options are merely security measures to ensure 
> that if someone were to gain access to the backuppc account on a host, 
> they could not run the rsync command as root with any and all switches. 
> BTW, if you are using linux, the syntax is wrong in the FAQ. The line 
> should read as follows:
> 
> backuppc   ALL=NOPASSWD:   /usr/bin/rsync --server --sender ?*
> 
> Note the question more before the asterisk. Hope this helps you out.
> 
Could you explain why ?* is needed?  "any single character" followed by 
"any string of characters" is the same as "any string of characters", 
isn't it?

?* = *

-Rob
********************************************************

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.

********************************************************


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/