Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 19:20:43 -0400 (EDT)
From:      user <user@dhp.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How do I chroot rsync like I chroot ftp ?
Message-ID:  <Pine.LNX.4.21.0510211917210.8180-100000@shell.dhp.com>
In-Reply-To: <20051021225713.GD4225@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 21 Oct 2005, Dan Nelson wrote:

> 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.


Yes ... I saw that ... is there anyway to "chroot" rsync over ssh, so I
can use public keys and not run the actual rsync server ?

I'd like to do the same thing with rdist as well, and am not sure ... how
that would even work.  I do rdist now over ssh, and it works fine, but
... not sure how to get rdist users to only see their own directory.

Is it possible taht what I really want to do is chroot ssh, if I am doing
all of my rsync/rdist over ssh ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0510211917210.8180-100000>