From owner-freebsd-questions Tue Sep 14 10:17:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id 874BB14D0F for ; Tue, 14 Sep 1999 10:17:22 -0700 (PDT) (envelope-from ales@megared.net.mx) Received: from ales (ales.megared.net.mx [207.249.163.252]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id MAA69801; Tue, 14 Sep 1999 12:16:12 -0500 (CDT) (envelope-from ales@megared.net.mx) Message-ID: <03df01befed4$eb1fbc40$fca3f9cf@megared.net.mx> From: "Alejandro Ramirez" To: "S.Christopoulos" Cc: "FreeBSD Questions" References: <000601befe7e$080da940$7ff5d4c3@server.meganet.gr> Subject: RE: ftp chroot problem Date: Tue, 14 Sep 1999 12:16:43 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > 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