Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 1999 12:16:43 -0500
From:      "Alejandro Ramirez" <ales@megared.net.mx>
To:        "S.Christopoulos" <christ@meganet.gr>
Cc:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   RE: ftp chroot problem
Message-ID:  <03df01befed4$eb1fbc40$fca3f9cf@megared.net.mx>
References:  <000601befe7e$080da940$7ff5d4c3@server.meganet.gr>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03df01befed4$eb1fbc40$fca3f9cf>