Okay, then you can do the following :<div>- create a dedicated group "rsync"</div><div>- chown/chmod /bin/rsync for that group only</div><div>- add a setgid to your script with that group</div><div>- use IP control in the rsyncd.conf to restrict users</div>

<div>Thus only allowed users can access the script, and only the script can launch rsync</div><div><br></div><div>Greg<br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 2:41 PM, András Porjesz <span dir="ltr"><<a href="mailto:andras.porjesz@ericsson.com" target="_blank">andras.porjesz@ericsson.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>



<div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span>Hi,</span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span>thanks, but actually the same users want to use rsync 
without the wrapper and it will cause inproper transfer.</span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span>Andras</span></font></div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma"><b>From:</b> <a href="mailto:greg.deb@gmail.com" target="_blank">greg.deb@gmail.com</a> 
[mailto:<a href="mailto:greg.deb@gmail.com" target="_blank">greg.deb@gmail.com</a>] <b>On Behalf Of </b>Greg Deback 
(rsync)<br><b>Sent:</b> Tuesday, June 26, 2012 14:38<br><b>To:</b> András 
Porjesz<br><b>Cc:</b> <a href="mailto:rsync@lists.samba.org" target="_blank">rsync@lists.samba.org</a><br><b>Subject:</b> Re: Rsync 
pairing<br></font><br></div><div><div class="h5">
<div></div>Hello,
<div>You could simply create a dedicated group, set up permissions to your 
script, and add only the desired remote users to that group.</div>
<div>Greg</div>
<div><br>
<div class="gmail_quote">On Tue, Jun 26, 2012 at 2:18 PM, András Porjesz <span dir="ltr"><<a href="mailto:andras.porjesz@ericsson.com" target="_blank">andras.porjesz@ericsson.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">Hi 
  all,<br>I have an rsyncd installed on a host and I want to use it from a lot 
  of clients. This rsync is not invoked directly but there is a shell script 
  wrapper co set up parameters and environment.<br>My problem is that I do not 
  want to allow any other rsync to be able to connect to the daemon. Is there 
  any way to implement such feature?<br><br>Thanks<br>Andras<br><span><font color="#888888">--<br>Please use reply-all for most replies 
  to avoid omitting the mailing list.<br>To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>Before 
  posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br></font></span></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>