Date: Tue, 9 Dec 2014 03:48:06 +0100 From: helen ly <onoffon@live.it> To: "questions@freebsd.org" <questions@freebsd.org> Subject: RE: File Transfer Protocol ftpd(8) Message-ID: <DUB126-W43477DFD11575779856AD8B0650@phx.gbl> In-Reply-To: <44egs93jx1.fsf@be-well.ilk.org> References: <DUB126-W32D7E2BF46190FDDA753A5B0670@phx.gbl>, <44egs93jx1.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
thanks I solved it with your help... normal permissions and jail work good. > From: freebsd-questions-local@be-well.ilk.org > To: onoffon@live.it > To: questions@freebsd.org > Subject: Re: File Transfer Protocol ftpd(8) > Date: Mon, 8 Dec 2014 16:34:34 -0500 > > helen ly <onoffon@live.it> writes: > > > i installed ftpd an run with ftpd -D and > > I edit ftpchroot with each user can access the files on their home-directory (users=moon and sun) > > and i created /World directory > > there is a Group called friends and friends Group member moon and sun > > how to only the users that belong to the friends Group shoudd be able to access the /World directory > > Normally, chroot is something you use when you want a user account to > access its own home directory and nothing else. > > How to give your users the access you wish can be done in a number of > different ways, all of which have different security implications. > > 1) You can skip the chroot and use normal permissions to give the > appropriate access. > > 2) You can keep the chroot and mount the common directory into the > users' home directories via NFS or a nullfs or something along that > line. > > 3) You can put the users in a jail created specifically for them, so > the jail can be locked down without annoying the other users or > programs running on the overall system. > > There are probably other choices as well. For one thing, you could check > into alternative FTP daemons or even alternative protocols.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DUB126-W43477DFD11575779856AD8B0650>
