Date: Thu, 16 Sep 1999 12:12:26 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Ferhat Doruk <ferhat@ihlas.com.tr> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FTP Servers Message-ID: <58087.937476746@axl.noc.iafrica.com> In-Reply-To: Your message of "Thu, 16 Sep 1999 12:07:58 %2B0200." <58008.937476478@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Sep 1999 12:07:58 +0200, Sheldon Hearn wrote: > Now all you have to do is add the users (or their group, if they're all > in the same group) to /etc/ftpchroot . See the ftpd(8) manpage for more > details. There's one thing I forgot to mention. because your users no longer share a single effective root directory, it's a real pain in the bum having to provide each one with his own copy of the ``ls'' program. You can get around this by compiling ftpd with FTPD_INTERNAL_LS=YES . Add that to your /etc/make.conf and do this: cd /usr/src/libexec/ftpd make depend make make install Because you've added it to make.conf, future ``make world'' runs will keep the builtin ls command in ftpd. Again, see the ftpd(8) manpage for more details. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58087.937476746>