From owner-freebsd-questions Tue Sep 14 15:23: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from prime.net.ua (P1M8.prime.net.ua [195.64.229.40]) by hub.freebsd.org (Postfix) with ESMTP id 663A01528A for ; Tue, 14 Sep 1999 15:22:49 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by prime.net.ua (8.9.3/8.9.3) with ESMTP id BAA00382; Wed, 15 Sep 1999 01:11:18 +0300 (EEST) Message-ID: <37DEC802.7D050DB2@prime.net.ua> Date: Wed, 15 Sep 1999 01:11:15 +0300 From: "Andy V. Oleynik" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.3-RC i386) X-Accept-Language: ru, en, uk MIME-Version: 1.0 To: "S.Christopoulos" Cc: FreeBSD Questions Subject: Re: ftp chroot problem References: <000601befe7e$080da940$7ff5d4c3@server.meganet.gr> <03df01befed4$eb1fbc40$fca3f9cf@megared.net.mx> Content-Type: text/plain; charset=koi8-r 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. > > To the fonts section I pass. > > 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 I beleave it should be done "make -DFTPD_INTERNAL_LS install" or "make FTPD_INTERNAL_LS=YES install" see Makefile for ftpd from sources > > > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik PGP key's fingerprint prime.net.ua's D0 1E 7B B4 33 65 49 97 9C 79 7C 64 5C 9C F3 25 system administrator +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message