*BSD News Article 94279


Return to BSD News archive

#! rnews 2451 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!newsbastard.radio.cz!news.radio.cz!CESspool!hammer.uoregon.edu!news-peer.gsl.net!news-peer.sprintlink.net!news.sprintlink.net!sprint!worldnet.att.net!newsfeed.internetmci.com!newsfeeder.servtech.com!post.servtech.com!not-for-mail
From: Shawn Carey <smc@servtech.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: wu-ftpd
Date: Wed, 23 Apr 1997 11:11:26 -0400
Organization: ServiceTech, Inc.
Lines: 47
Message-ID: <335E269E.167EB0E7@servtech.com>
References: <335E2FE0.7A48@inJapan.net>
NNTP-Posting-Host: boulder.syr.servtech.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.1-RELEASE i386)
CC: Doug Lerner <doug@inJapan.net>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39617

Doug Lerner wrote:
> 
> Does anybody have a document on how to use wu-ftpd, the replacement ftpd
> daemon?
> 
[...]
> 
> What I really wanted to know was, what makes wu-ftpd more attractive
> than ftpd?
> 

From what I can see, it lets you tar and compress directroy trees as
they are being transferred.  For example, you could do:

ftp> get dirname.tar.gz

Where the directory "dirname" exists - wu-ftpd creates the tarfile on
the fly.

> I was hoping I could find an FTP daemon that
> 
> (1) Lets me set up a hierarchy and give each user access to only one
> place in the hierarchy, without being able to see anything else.
> 
> (2) Did not rely on the /etc/passwd file for access, but rather had a
> password checking feature of its own, so I could set up FTP IDs and
> passwords just for people who need to update their home pages.
> 

You could simulate the effect of what you want with normal ftpd, but
you'd need to put the users in your passwd file:

(1) Create each FTP user with their home directory set to where you want
them to have access to the hierarchy.  Tight permissions in the
hierarchy can prevent thrillseekers from exploring.  Also check out the
ftpd manpage for it's use of /etc/ftpchroot.

(2) Put a bogus shell (like /dev/null) in /etc/shells, and give these
FTP-only users that shell.  This way they won't be able to log in, but
ftpd will be happy to talk to them.  Have a look at /etc/ftpaccess also,
maybe it can play a role in this too.

[...]
> Doug Lerner, Tokyo
> doug@inJapan.net

-Shawn Carey