From zentara@mindspring.com Fri Mar 13 18:54:43 1998 From: zentara@mindspring.com To: users@lists.opensuse.org Subject: Re: [S.u.S.E. Linux] Elementary ftp questions Date: Fri, 13 Mar 1998 19:54:43 +0100 Message-ID: <6ebvdj$2hr$1@Galois.suse.de> In-Reply-To: <[S.u.S.E. Linux] Elementary ftp questions> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8856677411520570663==" --===============8856677411520570663== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable John Weekley wrote: > zentara wrote: > > but I can't get to my ftp directory in /usr/local/ftp > > with ftp://192.168.0.1> > > I get no connection. Why? > > =20 > Hi, I can't help with the samba stuff (I use NFS, no M$ here :), but > maybe I can shed some light on the ftp question. > First of all, you're not really being dumped into the "/" filesystem. > What's happening is that due to default security you're being put into > /usr/local/ftp as you want. What's going on is that there's a way of > making your ftp directory be "/" for ftp users only, see man chroot. > This way, anonymous FTP'ers can't get out of the /usr/local/ftp > directory and wreak havoc on your system. Your ftp directory becomes > the / filesystem. >=20 > As to why you can't see anything, I'll take a guess and say your file > permissions don't allow anything to be seen. > The docs for the wu-ftpd cover all this pretty well, especially the > chroot part, and MOST IMPORTANTLY the file premissions needed to run a > secure server. >=20 > John Weekley Thanks for detailing that for me. I did sort of figure out it worked that way, by playing around with it. I came to see that to get anonymous ftp, you have to log on as "ftp" and send a blank password. If you log on as a user, you get then start ftp, you get dumped in your home directory. I see the benefit in doing it this way. What I really would like to understand is how to get into=20 anonymous ftp via Netscape on a win95 machine connected via ethernet.=20 I guess the question is why does the http daemon listen to my ethernet card address, but the ftp daemon dosn't ? How do I instruct the ftp daemon to listen to eth0, and put all requests into /usr/local/ftp?=20 I read man ftpd but couldn't make alot of sense out of it. I'm trying to set up a little ethernet lan to practice web and ftp procedures. -- To get out of this list, please send email to majordomo(a)suse.com with this text in its body: unsubscribe suse-linux-e --===============8856677411520570663==--