<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6002.18616" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=719535912-26062012>Hi Greg,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=719535912-26062012></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=719535912-26062012>thanks, but actually they donwloaded an rsync from 
somewhere and started to use it....</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=719535912-26062012></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=719535912-26062012>Andras</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> greg.deb@gmail.com 
[mailto:greg.deb@gmail.com] <B>On Behalf Of </B>Greg Deback 
(rsync)<BR><B>Sent:</B> Tuesday, June 26, 2012 14:44<BR><B>To:</B> András 
Porjesz<BR><B>Cc:</B> rsync@lists.samba.org<BR><B>Subject:</B> Re: Rsync 
pairing<BR></FONT><BR></DIV>
<DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><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></BODY></HTML>