Date: Sun, 24 Sep 2006 21:25:42 +0200 From: Martin Hudec <corwin@aeternal.net> To: Matt Juszczak <matt@atopia.net> Cc: freebsd-questions@freebsd.org Subject: Re: Restricting access to home directory Message-ID: <4516DBB6.3020701@aeternal.net> In-Reply-To: <20060924150810.H68311@saturn.atopia.net> References: <20060924150810.H68311@saturn.atopia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Matt, Matt Juszczak wrote: > Hi all, > > I would like to give a user access to my box via some kind of FTP but > restrict him to his home directory. > > I have seen scponlyc, which supposedly can do this, but can't seem to > get it working. > > I have also read up on protftpd + ssl, and configuring it to lock users > into their home directories. > > What would all of you recommend as a viable secure solution to this? First of all, scp (scponly) is not a FTP service. Nevertheless both options are just fine. Proftpd is able to "jail" users inside their dirs. Settings required in proftpd.conf: DefaultRoot ~ [group] where ~ are their specified homedirs and group is optional (members of that group will be jailed to their homedirs, others will be able to browse everywhere, if group is not used, everybody using proftpd will be jailed). Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4516DBB6.3020701>