From owner-freebsd-isp Sat May 25 10:32:55 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA05698 for isp-outgoing; Sat, 25 May 1996 10:32:55 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA05682 for ; Sat, 25 May 1996 10:32:51 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id KAA19925; Sat, 25 May 1996 10:32:42 -0700 From: "Rodney W. Grimes" Message-Id: <199605251732.KAA19925@GndRsh.aac.dev.com> Subject: Re: wu-ftpd and tar To: petzi@zit.th-darmstadt.de (Michael Beckmann) Date: Sat, 25 May 1996 10:32:42 -0700 (PDT) Cc: isp@FreeBSD.ORG In-Reply-To: from Michael Beckmann at "May 25, 96 06:53:39 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >For anonymous users things are tricker since they will be chrooted to > >~ftp and they will need statically linked versions of gzip, tar and compress > >placed in ~ftp/usr/bin. You should be able to just copy /usr/bin/{gzip,tar} > >into ~ftp/usr/bin as those files are statically linked in the standard FreeBSD > >distributions. > > OK, I have followed your suggestion and setup everything for /usr/bin, > instead of /bin . Okay. > >> The respective binaries are in their place. > > > >Are they in there place inside the ~ftp hierarchy for anonymous users? > > Yes, I copied them there from /usr/bin . Good. Now what does: ls -lag ~ftp/usr/bin give for output? > >Does it work okay for real logins, and fail for anoymous users, or vice-versa? > > It works neither way. :-(... hummm.... > I thought it were a problem with the options for ftpd in inetd.conf . I > hadn't set the -a flag. But now I have (and killed -HUP the inetd), and it > still doesn't work. > > /etc/inetd.conf : > > ftp stream tcp nowait root /usr/local/libexec/ftpd ftpd -a Mine looks like: ftp stream tcp nowait root /usr/local/libexec/ftpd ftpd -l -a I forget what -l does, oh, yea.. log all connections... Can I connect to this system to look at it via ftp from here? -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD