Date: Tue, 24 Jun 1997 01:53:00 +0200 (MET DST) From: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> To: FreeBSD-questions@FreeBSD.org Subject: Re: FTP Users Accounts (fwd) Message-ID: <199706232353.BAA00227@helbig.informatik.ba-stuttgart.de>
next in thread | raw e-mail | index | archive | help
----- Forwarded message from helbig ----- >From helbig Mon Jun 23 23:43:58 1997 Subject: Re: FTP Users Accounts In-Reply-To: <33AE4367.4B69@www.petrat.com> from Marcus Zafarano at "Jun 23, 97 02:35:35 am" To: marcusz@petrat.com (Marcus Zafarano) Date: Mon, 23 Jun 1997 23:43:58 +0200 (MET DST) Cc: helbig@MX.BA-Stuttgart.De X-Mailer: ELM [version 2.4ME+ PL30 (25)] Content-Length: 990 > Wolfgang Helbig wrote: > > > > > Hi: > > > > > > I need to be able to setup users on ftp under /users/????, but then not > > > have them be able to go out of their home directory. Can I do this with > > > ftp on FreeBSD. I have setup all the ftpusers, etc files, but I get past > > > my home directory. > > > > How about man ftpd? Edit the file /etc/ftpchroot. > > > > > > Can you help me? > > > > Hope so! > > > > > > thnks > > wlcm > > > > Wolfgang > > > > > > -mez > > > > > I have edited this file ftpchroot, but all I have done is added a name. > Is there more? No. If you have done that, your home directory will be '/' after ftp-login, and you'll have a hard time escaping this directory sub tree. BTW, many commands like ``ls'' won't work if they are not in your sub-tree, i. e. you'll need a bin directory in every home directory of your users. Symlinks outside your tree won't work either! Wolfgang. PS: Your reply address is wrong, the mail sent to you bounces back! ----- End of forwarded message from helbig -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706232353.BAA00227>