How do I chroot rsync like I chroot ftp ?

Dan Nelson dnelson at allantgroup.com
Fri Oct 21 15:57:25 PDT 2005


In the last episode (Oct 21), user said:
> Generally I chroot ftp users by simply adding their username to
> /etc/ftpchroot.  In older days, I used login.conf, etc.
> 
> The point is, it's easy to take a specific user and set a chroot that
> applies to what they can see when they use ftp.
> 
> What is the equivalent mechanism for rsync ?

See the rsyncd.conf manpage; it explains how to chroot rsyncd.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list