rsync as root (Was: [CentOS-mirror] New Mirror)

H. Peter Anvin hpa at
Wed Aug 6 23:38:34 UTC 2008

Keld Jørn Simonsen wrote:
>> What do you guys do?
> I would also like to run rsync as non-root, although I run it as root
> now.
> I would like to do:
> start rsync standalone
> connect to port 873
> possibly chroot
> run as nobody
> Is that possible? I understand that rsync changes from root to some
> non-root uid when it starts transferring, but in the mode where it
> processes commands there is a window of opportunity to make it do things. 
> I would then like to close that window.

Why not use xinetd?  That's what it's designed to do.


More information about the CentOS-mirror mailing list