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

Greg

On Tue, Jun 26, 2012 at 2:41 PM, András Porjesz <andras.porj...@ericsson.com
> wrote:

> **
> Hi,
> thanks, but actually the same users want to use rsync without the wrapper
> and it will cause inproper transfer.
>
> Andras
>
>  ------------------------------
> *From:* greg....@gmail.com [mailto:greg....@gmail.com] *On Behalf Of *Greg
> Deback (rsync)
> *Sent:* Tuesday, June 26, 2012 14:38
> *To:* András Porjesz
> *Cc:* rsync@lists.samba.org
> *Subject:* Re: Rsync pairing
>
> Hello,
> You could simply create a dedicated group, set up permissions to your
> script, and add only the desired remote users to that group.
> Greg
>
> On Tue, Jun 26, 2012 at 2:18 PM, András Porjesz <
> andras.porj...@ericsson.com> wrote:
>
>> Hi all,
>> 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.
>> 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?
>>
>> Thanks
>> Andras
>> --
>> Please use reply-all for most replies to avoid omitting the mailing list.
>> To unsubscribe or change options:
>> https://lists.samba.org/mailman/listinfo/rsync
>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>>
>
>
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to