From owner-freebsd-questions Mon Nov 9 16:19:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13300 for freebsd-questions-outgoing; Mon, 9 Nov 1998 16:19:09 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13290 for ; Mon, 9 Nov 1998 16:19:05 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id QAA11378; Mon, 9 Nov 1998 16:18:32 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 9 Nov 1998 16:18:31 -0800 (PST) From: Doug White To: Mike Alich cc: freebsd-questions@FreeBSD.ORG Subject: Re: FTP In-Reply-To: <363FC78F.6B65D56D@cctinc.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 3 Nov 1998, Mike Alich wrote: > Hi, > I am hoping you can help..In my endless searching threw the > handbook, mailing lists, man pages, etc.., etc...I was wonder if you can > help tell me where I can get the information or how to do this. > > I need to compile some program (I am assuming FTPD) with the variable > FTPD_INTERNAL_LS= true. Can you tell me which program needs to be > re-compiled? I have the FTPD_INTERNAL_LS= true in my /etc/make.conf > and in my /usr/src/etc/make.conf and I have re-compiled the kernel, ftp, > ftpd with no luck. I would like to not have to put the /bin/ls in each > users home dir to use the ftpchroot file. > > Any help is appreciated!! You need to *build* ftpd with the option set so the appropriate code is enabled. The system distributed ftpd is *not* build with such support. If you have the system source installed, go into /usr/src/libexec/ftpd and type make INTERNAL_LS=true depend all install All future invocations of ftpd will now have ls built-in. (A scan of the source notes that FTPD_INTERNAL_LS is the wrong define, it should be INTERNAL_LS.) Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message