From owner-freebsd-questions Thu Sep 16 3:13:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 90C9E14F13 for ; Thu, 16 Sep 1999 03:13:48 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11RYWg-000F6u-00; Thu, 16 Sep 1999 12:12:26 +0200 From: Sheldon Hearn To: Ferhat Doruk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FTP Servers In-reply-to: Your message of "Thu, 16 Sep 1999 12:07:58 +0200." <58008.937476478@axl.noc.iafrica.com> Date: Thu, 16 Sep 1999 12:12:26 +0200 Message-ID: <58087.937476746@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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