Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 1999 01:11:15 +0300
From:      "Andy V. Oleynik" <andyo@prime.net.ua>
To:        "S.Christopoulos" <christ@meganet.gr>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ftp chroot problem
Message-ID:  <37DEC802.7D050DB2@prime.net.ua>
References:  <000601befe7e$080da940$7ff5d4c3@server.meganet.gr> <03df01befed4$eb1fbc40$fca3f9cf@megared.net.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37DEC802.7D050DB2>