From owner-freebsd-questions Tue Sep 14 19:54:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 24B101536F for ; Tue, 14 Sep 1999 19:53:17 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id WAA21503; Tue, 14 Sep 1999 22:55:40 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199909150255.WAA21503@cc942873-a.ewndsr1.nj.home.com> Subject: Re: ftp chroot problem In-Reply-To: <03df01befed4$eb1fbc40$fca3f9cf@megared.net.mx> from Alejandro Ramirez at "Sep 14, 1999 12:16:43 pm" To: ales@megared.net.mx (Alejandro Ramirez) Date: Tue, 14 Sep 1999 22:55:40 -0400 (EDT) Cc: christ@meganet.gr (S.Christopoulos), freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alejandro Ramirez wrote, > Hi, > > BTW what version are you using in your FreeBSD server???, it works with > 3.2, but i think that you have a 2.2.X server, what is the output of > "uname -a", and the exact error line, it will be nice if you post this > things, and also send a copy to the list, because I havent encounter this > problem, and and Im sure that someone in the list knows exacly what to do. The ftpd is not in usr.bin. /usr/src/libexec/ftpd > To the fonts section I pass. Ditto. That's a XFree86 issue more than FreeBSD... and I've never had to do it so I can't help. > Ales > > > Hi, > > > > It'm me AGAIN......... > > > > We followed your instructions and we have already installed through > > ./sysinstall the "usr.bin" sources. But the directory that is created is > > the /usr/src/usr.bin/ftp and not the ../ftpd. We have also written > > # make depend > > # make FTPD_INTERNAL_LS > > and the system says that there isn't FTPD_INTERNAL_LS, stop > > # make install > > > > Any ideas ....again!!!!! > > > > And one last thing do you know how to install the Greek fonts to the > console > > and to the XWindows???? > > > > >Hi, > > > > > > It seems to me that you didnt rebuild an installed the ftp daemon in > > >your system, if you create the /etc/ftpchroot file, and you didnt rebuild > > >your ftpd with the ls in it, you wont be able to ls (list the content of) > > >the directory trough ftp because they cant reach the "/bin/ls" command in > > >your system. > > > > > >There are two solutions: > > > > > >1.- create a ~/bin directory with the ls command in it (simple but with a > > >lot of administrative overload). > > > > > >2.- Rebuild the ftp daemond with the ls in it (better for a lot of > users), > > >and simpler (thats the way of doing things). > > > > > >unix# cd /usr/src/usr.bin/ftpd > > >unix# make depend > > >unix# make FTPD_INTERNAL_LS > > >unix# make install > > > > > >and you are done!!!, Now the ftp client can use ls to list the contents > of > > >the directory. > > > > > >Have Fun... > > > > > >Ales > > > > > >> Thank you so much for replying!!! We followed your instructions and we > > >> solved our original problem but now we have created a new problem ! > When > > >we > > >> use ftp client program, in the area on the screen where you can/should > > see > > >> the names of the files, nothing can be seen eventhough the files exist. > > >> They are there but they can not been seen!!!!! AMASING......Do you know > > >> anything about it? Any ideas will be really appreciated. > > >> > > >> Thanks > > >> S.CHRISTOPOULOS -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message