From owner-wu-ftpd@wugate.wustl.edu  Sun Mar  1 00:36:23 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id AAA09234;
	Sun, 1 Mar 1998 00:36:22 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA00556;
	Sun, 1 Mar 1998 00:34:30 -0600 (CST)
Received: from athena.digimark.net (ns1.digimark.net [208.202.26.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA03154
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Mar 1998 00:29:02 -0600 (CST)
Received: from athena.digimark.net (athena.digimark.net [208.202.26.20]) by athena.digimark.net (8.8.8/8.7.3) with SMTP id BAA05353 for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Mar 1998 01:28:26 -0500 (EST)
Message-Id: <Pine.GSO.3.95.980301012317.5328A-100000@athena.digimark.net>
Date: Sun, 1 Mar 1998 01:28:26 -0500 (EST)
Reply-To: og@digimark.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gary Goldberg <og@digimark.net>
To: wu-ftpd@wugate.wustl.edu
Subject: regarding xferstats "no data to process"
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

For non-zero byte length ftp logs files, why would I get "There was no data
to process? It wasn't clear to me from the xferstats source. Thanks, -Gary

- Do not taunt Happy Fun Ball.
Gary Goldberg KA3ZYW email: og@digimark.net  (301) 249-6501
Digital Marketing, Inc., Bowie, MD. http://www.digimark.net/


From owner-wu-ftpd@wugate.wustl.edu  Sun Mar  1 00:56:26 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id AAA09327;
	Sun, 1 Mar 1998 00:56:24 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA05968;
	Sun, 1 Mar 1998 00:53:16 -0600 (CST)
Received: from sod.off.net (pschwan@a22a180.neo.lrun.com [204.210.200.180])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA31140
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Mar 1998 00:44:34 -0600 (CST)
Received: from localhost (pschwan@localhost) by sod.off.net (8.8.5/8.6.9) with SMTP id BAA08964; Sun, 1 Mar 1998 01:44:26 -0500
Message-Id: <Pine.LNX.3.96.980301013756.22661E-100000@sod.off.net>
Date: Sun, 1 Mar 1998 01:44:26 -0500 (EST)
Reply-To: pschwan@apk.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Phil Schwan <pschwan@apk.net>
To: Gary Goldberg <og@digimark.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: regarding xferstats "no data to process"
In-Reply-To: <Pine.GSO.3.95.980301012317.5328A-100000@athena.digimark.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: pschwan@sod.off.net
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Sun, 1 Mar 1998, Gary Goldberg wrote:

> For non-zero byte length ftp logs files, why would I get "There was no data
> to process? It wasn't clear to me from the xferstats source. Thanks, -Gary

Well, first of all, which xferstats are you using?  That worthless little
perl script that comes with wu-ftpd (aiee, don't hit me) or the one I
wrote in C to replace it that isn't "quite" ready to be included in the
full distribution?

I can answer for both, but I'm not -positive- about my answer regarding
the perl script.

What's most likely occuring is that you're excluding all of your data,
whether you know it or not.  If you're using my replacement, there are
some default settings in config.h.  If you have "display anonymous users"
and "display real users" both turned off, you have no data left to
process.  You can override these defaults on the command line, so try
specifying it and see if you get some data.

I recall using the perl script, and I recall having to specifically tell
it what data I wanted sometimes.  If I recall correctly there's a block at
the top of the code that gives the command line options.  Try manually
specifying the location of the xferlog, as well as the data you want to
display.

For a quite update while I have your attention, xferstats is currently in
the middle of a major rewrite.  It should decrease memory usage by several
orders of magnitude (for those with -massive- logfiles) while only slowing
it down ever so slightly.  I think this is a worthy trade-off.

After I finish the rewrite I plan on opening it up to anyone who cares to
contribute.  I'd really like to hear what you want, and patches are always
appreciated :)  Wait for the 1.20, it'll be worth it.  In the meantime,
you can still probably get by with 1.15 or 1.16, just be a little careful
if you have a gigantic (20+ megs) logfile, it will eat up a ton (300+
megs) of ram while it processes.

All previous and current versions are available at
ftp://sound.off.net:211/pub/xferstats (that's sound.off.net port 211, for
the url impaired :)

Phil

--------------------------------------------------------------------------
'The ultimate seal on any software product is not any sort of kite mark or
standards conformance certificate, it's that label that says, "Destruction
tested by Alan Cox.... Survived."' -- Clive Dolphin (3Com PDD)


From owner-wu-ftpd@wugate.wustl.edu  Sun Mar  1 15:43:57 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA24239;
	Sun, 1 Mar 1998 15:43:55 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA28677;
	Sun, 1 Mar 1998 15:41:46 -0600 (CST)
Received: from server.super.net.pk (server.super.net.pk [203.130.2.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA31762
	for <wu-ftpd@mail.wustl.edu>; Sun, 1 Mar 1998 15:36:01 -0600 (CST)
Received: from watchdog (watchdog.super.net.pk [203.130.2.6])
	by server.super.net.pk (8.8.7/8.8.7) with SMTP id CAA08883
	for <wu-ftpd@mail.wustl.edu.>; Mon, 2 Mar 1998 02:39:38 +0500 (GMT+0500)
Message-Id: <34F9D4BE.7F58@super.net.pk>
Date: Mon, 02 Mar 1998 02:35:58 +0500
Reply-To: naved@super.net.pk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Muhammad Naved <naved@super.net.pk>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (WinNT; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi there,

Please guide me i want to install virtual ftpd on my server . I have
decalpha(dec osf/1) server using digital unix 3.2c.

now tell me how can i make secure my server using wu-ftpd or some other
virtual ftpd.  And what points do i need to consider to using it ?

Please tell me where i can get  the latest version of the wu-ftpd  


thanks in advance

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  2 00:53:28 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id AAA03152;
	Mon, 2 Mar 1998 00:53:26 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA12067;
	Mon, 2 Mar 1998 00:51:00 -0600 (CST)
Received: from kn2ims1.mx.koc.net (kn2ims1.mx.koc.net [193.243.207.12])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA08926
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Mar 1998 00:42:40 -0600 (CST)
Received: by kn2ims1.mx.koc.net with Internet Mail Service (5.0.1460.8)
	id <FSDX3VZJ>; Mon, 2 Mar 1998 08:44:23 +0200
Message-Id: <074EFD265672D11189D600E02910EE6F0128FD@kn6srv1.mx.koc.net>
Date: Mon, 2 Mar 1998 08:44:06 +0200 
Reply-To: didema@koc.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: didema@koc.net
To: naved@super.net.pk, wu-ftpd@wugate.wustl.edu
Subject: RE: wu-ftpd
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: Internet Mail Service (5.0.1460.8)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,
You can find it at  this adress http://www.landfield.com/wu-ftpd/.This place
is called by  wu-ftpd resource center.

Good-luck


> -----Original Message-----
> From:	Muhammad Naved [SMTP:naved@super.net.pk]
> Sent:	01 Mart 1998 Pazar 23:36
> To:	wu-ftpd@wugate.wustl.edu
> Subject:	wu-ftpd
> 
> Hi there,
> 
> Please guide me i want to install virtual ftpd on my server . I have
> decalpha(dec osf/1) server using digital unix 3.2c.
> 
> now tell me how can i make secure my server using wu-ftpd or some other
> virtual ftpd.  And what points do i need to consider to using it ?
> 
> Please tell me where i can get  the latest version of the wu-ftpd  
> 
> 
> thanks in advance

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  2 04:22:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id EAA14053;
	Mon, 2 Mar 1998 04:22:03 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA25947;
	Mon, 2 Mar 1998 04:20:10 -0600 (CST)
Received: from devweb.uk.so-net.com (root@[195.129.28.130])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id EAA24557
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Mar 1998 04:15:55 -0600 (CST)
Received: from so-net.co.uk (devweb [195.129.28.130]) by devweb.uk.so-net.com (8.7.6/8.7.3) with ESMTP id KAA20013 for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Mar 1998 10:15:48 GMT
Message-Id: <34FA86D3.A55D1667@so-net.co.uk>
Date: Mon, 02 Mar 1998 10:15:47 +0000
Reply-To: keith@so-net.co.uk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Keith Oborn <keith@so-net.co.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Global address access denial
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------B56F430D13B986BECE986232"
X-Sender: keith@devweb.uk.so-net.com
X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.30 i586)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.
--------------B56F430D13B986BECE986232
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Further to my previous message, here is what seems to be the current
logic of the ftphosts and ftpaccess allow and deny statements.

ftphosts:

	allow keith 195.129.28.*

Allows access for user keith ONLY from 195.129.28.* - there is an implicit "deny
from anywhere else". This is a Good Thing!

	deny keith *.*.*.*

Denies acees for keith from anywhere. Also a Good Thing.

ftpaccess:

	deny 195.129.28.*

Denies any access from 195.129.28.*.

BUT:	deny *.*.*.* does nothing.

There seems to be no way to set up so as to allow onyl specific 
users from specific addresses, and do a blanket "deny everyone else"

Does anyone know a way round this?

Normally of course such address filtering would be done on a router,
but I need to set up multiple virtual servers on one machine, each one with
different, and quite specific, address matching, and at least one of them open
to all.

Help! 
 

-- 
Keith Oborn      Sony Communication Network UK       0171 426 8655
15th Floor, Commercial Union Tower, 1, Undershaft, London EC3A 8EE
home: keith@uk2.so-net.com             office: keith@so-net.net.uk
--------------B56F430D13B986BECE986232
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-Path: owner-wu-ftpd@wugate.wustl.edu
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1]) by devweb.uk.so-net.com (8.7.6/8.7.3) with ESMTP id NAA14500 for <keith@so-net.co.uk>; Fri, 27 Feb 1998 13:58:20 GMT
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA00918;
	Fri, 27 Feb 1998 07:55:53 -0600 (CST)
Received: from devweb.uk.so-net.com (root@[195.129.28.130])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA32485
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Feb 1998 07:51:48 -0600 (CST)
Received: from so-net.co.uk (devweb [195.129.28.130]) by devweb.uk.so-net.com (8.7.6/8.7.3) with ESMTP id NAA14364 for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Feb 1998 13:51:37 GMT
Message-Id: <34F6C4E8.C533F570@so-net.co.uk>
Date: Fri, 27 Feb 1998 13:51:36 +0000
Reply-To: keith@so-net.co.uk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Keith Oborn <keith@so-net.co.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Global address access denial
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: keith@devweb.uk.so-net.com
X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.30 i586)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've been asked to set up an instance of wu-ftp that permits acess
only from certain user/address combinations.

So, for example, I want to permit

allow keith	195.129.28.*

(an ftphosts line)

but deny keith access from any other address.

ftphosts seems to have an implied "permit everything else", rather than "deny
everything else" - the latter is akin to the way that, for instance, a Cisco
access list would work "permit this, this, and this. If I haven't mentioned it,
deny it" 

If there was an ability to wildcard the username in ftphosts, that would do the
trick. Something like:

allow keith 195.129.28.*
deny keith *.*.*.*
deny ALL *.*.*.*

would do the trick if the list is processed from the top looking for the first
match.    

In ftpaccess, there is a deny statement, which presumably can be used to do
relatively global denials. The problem is, I'm not sure how the precedence is
worked out between the two config files.

If I say "deny *.*.*.*" in ftpaccess, can I then say "allow keith 195.129.28.*"
in ftphosts and have it work?

Of course, I'm going to play with this, but setting up tests can't be
exhaustive, and I need to prove, to a relatively non-technical audience, that
this works in a general fashion. 

 -- 
Keith Oborn      Sony Communication Network UK       0171 426 8655
15th Floor, Commercial Union Tower, 1, Undershaft, London EC3A 8EE
home: keith@uk2.so-net.com             office: keith@so-net.net.uk


--------------B56F430D13B986BECE986232--


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  2 05:58:13 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA14428;
	Mon, 2 Mar 1998 05:58:12 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA28112;
	Mon, 2 Mar 1998 05:56:10 -0600 (CST)
Received: from compugen.co.il (cosmos.compugen.co.il [194.90.152.156])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA01153
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Mar 1998 05:49:37 -0600 (CST)
Received: from compugen.co.il (artur@venus [194.90.152.131])
          by compugen.co.il (8.8.7/8.8.4) with ESMTP
	  id NAA13673 for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Mar 1998 13:47:59 +0200 (IST)
Message-Id: <34FA9C6F.741281E1@compugen.co.il>
Date: Mon, 02 Mar 1998 13:48:00 +0200
Reply-To: artur@compugen.co.il
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Artur Shnayder <artur@compugen.co.il>
To: wu-ftpd@wugate.wustl.edu
Subject: Compilaton on Sol.2.5.1_x86
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: artur@compugen.co.il
X-Mailer: Mozilla 4.04 [en] (X11; I; IRIX 5.3 IP22)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

 Hi,
 I'm trying to compile wu-ftpd-2.4.2-beta-16 on Solaris 2.5.1_x86 and
get the following error message:

Making ftpd.
cc -g -I.. -I../support -L../support  -c  ftpd.c
"/usr/ucbinclude/sys/file.h", line 119: macro L_INCR redefines previous
macro at "./config.h", line 22
"ftpd.c", line 1575:  (in preprocessor if): syntax error
"ftpd.c", line 1963:  (in preprocessor if): syntax error
"ftpd.c", line 2207:  (in preprocessor if): syntax error
"ftpd.c", line 2338:  (in preprocessor if): syntax error
cc: preprocessor failed for ftpd.c
*** Error code 2
make: Fatal error: Command failed for target `ftpd.o'

 On Sparc platform it passed ok.

 Any idea.

 Thanks in advance.

--

--

Artur Shnayder -- System Administrator
---------------------------------------
Voice:  972-3-9348482 ext. 219
Fax:    972-3-9348489
mailto: artur@compugen.co.il
URL:    http://www.compugen.co.il




From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  2 06:29:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id GAA15072;
	Mon, 2 Mar 1998 06:29:16 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA04035;
	Mon, 2 Mar 1998 06:21:45 -0600 (CST)
Received: from kserver.fh-koblenz.de (sun.fh-koblenz.de [143.93.145.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA11885
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Mar 1998 06:14:53 -0600 (CST)
Received: by sun.fh-koblenz.de (4.1/JM-K-1.2)
	id AA08052; Mon, 2 Mar 98 13:13:44 +0100
Message-Id: <9803021213.AA08052@sun.fh-koblenz.de>
Date: Mon, 2 Mar 1998 13:13:43 +0100 (MET)
Reply-To: mschmidt@sun.fh-koblenz.de
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mschmidt@sun.fh-koblenz.de
To: artur@compugen.co.il
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilaton on Sol.2.5.1_x86
In-Reply-To: <34FA9C6F.741281E1@compugen.co.il> from "Artur Shnayder" at Mar 2, 98 01:48:00 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> From: Artur Shnayder <artur@compugen.co.il>
> Subject: Compilaton on Sol.2.5.1_x86
> 
>  I'm trying to compile wu-ftpd-2.4.2-beta-16 on Solaris 2.5.1_x86 and
> get the following error message:
> 
> Making ftpd.
> cc -g -I.. -I../support -L../support  -c  ftpd.c
> "/usr/ucbinclude/sys/file.h", line 119: macro L_INCR redefines previous
> macro at "./config.h", line 22
> "ftpd.c", line 1575:  (in preprocessor if): syntax error
> "ftpd.c", line 1963:  (in preprocessor if): syntax error
> "ftpd.c", line 2207:  (in preprocessor if): syntax error
> "ftpd.c", line 2338:  (in preprocessor if): syntax error
> cc: preprocessor failed for ftpd.c
> *** Error code 2
> make: Fatal error: Command failed for target `ftpd.o'

Trying to buil/compile an other software on a HP-UX machine I have 
seen a similar effect. I ended in using GNU sed instead the hosts 
operating systems sed, then it worked okay.

It may not be the same with your problem, but it may be worth to 
have a look there.

Have a nice day
Michael

-- 
Michael Schmidt                    mschmidt@fh-koblenz.de
                    SAMBA Admin
Server fuer / Server for  MS + Win95 + WinNT + LANManager
              Fachhochschule Koblenz

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 07:51:26 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id HAA06793;
	Tue, 3 Mar 1998 07:51:25 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA13884;
	Tue, 3 Mar 1998 07:47:36 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA02422
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 07:43:02 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id FAA15532
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 05:42:57 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA121074420; Tue, 3 Mar 1998 19:13:40 +0500
Message-Id: <199803031342.FAA15532@palrel3.hp.com>
Date: Tue, 3 Mar 1998 19:13:39 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Cc: harshalj@india.hp.com (Harshal Savalia)
Subject: CA-97.16.ftpd - ftpd Signal Handling Vulnerability 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

	Today when I was looking  for the fix of  CA-97.16.ftpd  - "ftpd
	Signal  Handling  Vulnerability"  I noted that the modified code
	portion is included with

		#ifdef NEED_SIGFIX
			
			...
			sigfix code...
			...

		#endif

	But  NEED_SIGFIX  is defined only in  config.lnx  file.  Does it
	mean that this code portion is only for linux operating system ?
	Can I use it for HP-UX ?  Will it work for it ?

	Any suggestions are welcomed...

Thanks,
Harshal
-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
30C, Cunningham Road				Fax   : (91)(80)2200196
Bangalore 560 052				Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 08:05:00 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA06911;
	Tue, 3 Mar 1998 08:04:59 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA12470;
	Tue, 3 Mar 1998 08:03:07 -0600 (CST)
Received: from ns.iway.nl (ns.iway.nl [193.78.30.4])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA10369
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 07:57:35 -0600 (CST)
Received: (from root@localhost) by ns.iway.nl (8.7.1/8.6.12) id QAA11197 for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 16:19:03 +0100 (MET)
Received: from i-mail.iway.nl(172.16.1.4) by ns.iway.nl via smap (V1.3)
	id sma011169; Tue, 3 Mar 98 16:18:42 +0100
Received: from iway.nl ([172.16.1.40]) by i-mail.iway.nl
          (Netscape Mail Server v1.1) with ESMTP id AAA9319
          for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 14:56:52 +0200
Message-Id: <34FBEED8.94641208@iway.nl>
Date: Tue, 03 Mar 1998 12:51:52 +0100
Reply-To: simon@iway.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Simon Convey" <simon@iway.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd and Authsrv
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear List,
    I am looking for an ftp daemon which can be patched/modified to
authenticate vis the TIS authsrv database. What are the chances ? I
don't fancy several weeks messing around with source to get it to fly in
a production environment....

Many regards,
Simon Convey.



From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 10:01:22 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA07864;
	Tue, 3 Mar 1998 10:01:21 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA27422;
	Tue, 3 Mar 1998 09:59:03 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA27192
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 09:55:16 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA05222; Tue, 3 Mar 98 16:56:54 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    3 Mar 98 16:59:55 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 3 Mar 98 16:59:49 +0100
Message-Id: <18AF85B48@lu-dal2.dal.lu.se>
Date: Tue, 3 Mar 1998 16:59:39 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: wu-ftpd@wugate.wustl.edu
Subject: exiting on signal 11
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

I sure could do with some help from rational and competent people
(which is as far as can be from what I feel myself at the moment). I 
am at my wits end now (well - again, then).

I run Solaris 2.5.1

I have up to now been using the original wu-ftpd Version wu-2.4(2) and
today I finally found courage to update, so I downloaded and installed
(so I thought) wu-ftpd-2.4.2-beta-16. Everything seemed to work rather
smoothly, compiling as well as installing; no error msgs - and the
files showed up where I wanted them (in temporary places, since I 
wanted to simply test the installation before I installed it for 
real).

After the installation process I ran ckconfig, which reported as
follows:

# ./ckconfig
Checking _PATH_FTPUSERS :: /etc/ftpusers
ok.

Checking _PATH_FTPACCESS :: /etc/ftpaccess
ok.

Checking _PATH_PIDNAMES :: /var/adm/ftp.pids-%s
ok.

Checking _PATH_CVT :: /etc/ftpconversions
ok.

Checking _PATH_XFERLOG :: /var/adm/xferlog
I can't find it... 
Don't worry, it will be created automatically by the
server if you do transfer logging.

Checking _PATH_PRIVATE :: /etc/ftpgroups
ok.

Checking _PATH_FTPHOSTS :: /etc/ftphosts
ok.
#

That seemed promising, I thought, so I entered the line in
/etc/inted.conf - thus:

ftp stream tcp nowait root /disk2/usr/sbin/in.ftpd in.ftpd -laio

and entered kill -HUP 102 (which was the pid of inetd).

But when I try to log in I get:

connecting to 130.235.143.145 ...
Connected to 130.235.143.145 port 21

! Connection failed

An ftp session at the console can look like this:

# ftp ftp.dal.lu.se
Connected to ftp.dal.lu.se.
421 Service not available, remote server has closed connection
Mar  3 16:25:44 grimnir.dal.lu.se ftpd[394]: exiting on signal 11 
ftp> quit

In the logs on the server I see:

Mar  3 14:32:35 grimnir.dal.lu.se inetd[102]: config: 100083/rpc/tcp
still active and was not reconfigured. 
Mar  3 14:32:44 grimnir.dal.lu.se ftpd[2958]: exiting on signal 11

And this happens not only after a SIGHUP, but, most astonishing of
all, even AFTER I REBOOT the server!

There are similar messagees in var/adm/messages:

Mar  3 14:32:35 grimnir.dal.lu.se inetd[102]: config: 100083/rpc/tcp
still active and was not reconfigured. 
Mar  3 14:32:44 grimnir.dal.lu.se ftpd[2958]: exiting on signal 11

The installation is on a secondary disk (mounted on /disk2 - see 
above) at the moment - a disk the file system of which work 
excellently in other cases. But could this really be the reason? 

Nothing is the matter with my ftpaccess file, I think. I copied (to
/etc) the one I have used with the old installation, and it contains
nothing extraordinary.

As soon as I switch back to my old installation (comment out - 
uncomment in inetd.conf + SIGHUP to inetd) everything works well 
again.

This seems really weird to me. If anyone could give me some idea where
to look for reasons I would be extremely grateful.

Best Regards,
Stig

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 10:40:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA08285;
	Tue, 3 Mar 1998 10:40:15 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA01377;
	Tue, 3 Mar 1998 10:37:13 -0600 (CST)
Received: from nms.rz.uni-kiel.de (nms100.rz.uni-kiel.de [134.245.1.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA24591
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 10:36:20 -0600 (CST)
Received: from marvin.bwl.uni-kiel.de by nms.rz.uni-kiel.de 
          with Local-SMTP (PP) id <01851-0@nms.rz.uni-kiel.de>;
          Tue, 3 Mar 1998 17:41:38 +0100
Received: by marvin.bwl.uni-kiel.de (AIX 3.2/UCB 5.64/4.03) id AA24552;
          Tue, 3 Mar 1998 17:32:26 +0100
Message-Id: <9803031632.AA24552@marvin.bwl.uni-kiel.de>
Date: Tue, 3 Mar 1998 17:32:26 +0100 (NFT)
Reply-To: u1377@bwl.uni-kiel.de
Sender: owner-wu-ftpd@wugate.wustl.edu
From: u1377@bwl.uni-kiel.de (Josef Siemes)
To: wu-ftpd@wugate.wustl.edu (wu-ftp Mailinglist)
Subject: Re: exiting on signal 11
In-Reply-To: <18AF85B48@lu-dal2.dal.lu.se> from "Stig Isaksson" at Mar 3, 98 04:59:39 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> I run Solaris 2.5.1

> /etc/inted.conf - thus: 
> ftp stream tcp nowait root /disk2/usr/sbin/in.ftpd in.ftpd -laio

> Mar  3 14:32:44 grimnir.dal.lu.se ftpd[2958]: exiting on signal 11

See http://www.landfield.com/wu-ftpd/mail-archive/1997/Dec/0235.html,
it's a known bug in beta-16.

As a workaround you can give options like this: 
'...in.ftpd in.ftpd -l -a -i -o '

Regards,

Josef Siemes,
u1377@bwl.uni-kiel.de

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 14:17:34 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA10402;
	Tue, 3 Mar 1998 14:17:33 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA06224;
	Tue, 3 Mar 1998 14:14:25 -0600 (CST)
Received: from Humpty.pwgsc.gc.ca (humpty.pwgsc.gc.ca [198.103.167.20])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA29095
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 14:12:19 -0600 (CST)
Received: (from rocker@localhost)
	by tiger.ncr.pwgsc.gc.ca (8.8.5/8.8.5) id OAA17762
	for wu-ftpd@mail.wustl.edu; Tue, 3 Mar 1998 14:51:41 -0500 (EST)
Message-Id: <199803031951.OAA17762@tiger.ncr.pwgsc.gc.ca>
Date: Tue, 3 Mar 1998 14:51:41 -0500 (EST)
Reply-To: rocker@tiger.ncr.pwgsc.gc.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Rocker UNIX/NT Support 991-2604 <rocker@tiger.ncr.pwgsc.gc.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: local# syslog facilities
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Howdy yall. 

I would expect that this is covered in some FAQ somewhere, but I cant find it. How do I get wuftpd to log to local4 facility, and not daemon ?

Thanks in advance

"Life is like a box of chocolates"

_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Rocke Robertson
UNIX Administartor
350 King Edward
(613) 991-2604
Ottawa, Ontario
rocke@tiger.ncr.pwgsc.gc.ca
_/_/_/_/_/_/_/_/_/_/_/_/_/_/



From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 14:50:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA10727;
	Tue, 3 Mar 1998 14:50:36 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA27551;
	Tue, 3 Mar 1998 14:46:31 -0600 (CST)
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA26796
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 14:40:01 -0600 (CST)
Received: (from koos@localhost) by pizza.hvu.nl (8.8.6/KH19970721 (dbm++)) id VAA06156; Tue, 3 Mar 1998 21:39:24 +0100 (MET)
Message-Id: <199803032039.VAA06156@pizza.hvu.nl>
Date: Tue, 3 Mar 1998 21:39:24 +0100 (MET)
Reply-To: koos@pizza.hvu.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Koos van den Hout _U nix and we all_ <koos@pizza.hvu.nl>
To: rocker@tiger.ncr.pwgsc.gc.ca
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: local# syslog facilities
In-Reply-To: <199803031951.OAA17762@tiger.ncr.pwgsc.gc.ca> from Rocker UNIX/NT Support 991-2604 at "Mar 3, 98 02:51:41 pm"
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Files: the truth is out there
X-I-Am-Not-Simes: There is only one Simes
X-Mailer: ELM [version 2.4ME+ PL31H (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Quoting Rocker UNIX/NT Support 991-2604, who wrote :

> I would expect that this is covered in some FAQ somewhere, but I cant
> find it. How do I get wuftpd to log to local4 facility, and not daemon

It's quite easy to find if you know what you're looking for..

I grepped the sources for FACILITY and...

$ grep FACILITY *.[ch]
config.h:#define FACILITY LOG_DAEMON

and config.h is copied from config/config.{archtype} (config.lnx
corresponds to build lnx for example).

So change this to LOG_LOCAL4 and rebuild.

> Rocke Robertson
> UNIX Administartor

Not a system mangler ?

                                               Koos

-- 
A Security Clearance level of Confidential is assumed on all email
correspondence. Please deal accordingly.

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 16:33:11 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA11773;
	Tue, 3 Mar 1998 16:33:10 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA29411;
	Tue, 3 Mar 1998 16:29:00 -0600 (CST)
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA23394
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 16:22:01 -0600 (CST)
Received: from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate.mot.com (8.8.5/8.6.10/MOT-3.8) with ESMTP id QAA13443 for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 16:20:24 -0600 (CST)
Received: from il02dns1.comm.mot.com (il02dns1.comm.mot.com [145.1.3.2]) by mothost.mot.com (8.8.5/8.6.10/MOT-3.8) with ESMTP id QAA03608 for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 16:20:24 -0600 (CST)
Received: from tor.comm.mot.com (cre701.comm.mot.com [145.67.2.5]) by il02dns1.comm.mot.com (8.7.5/8.7.3) with SMTP id QAA18158 for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 16:20:25 -0600 (CST)
Received: from cde714 by tor.comm.mot.com with SMTP
	(1.38.193.4/16.2) id AA19359; Tue, 3 Mar 1998 17:20:17 -0500
Message-Id: <Pine.HPP.3.95.980303163016.10827G-100000@cde714>
Date: Tue, 3 Mar 1998 17:20:17 -0500 (EST)
Reply-To: Louis Bertrand <louisb@comm.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Louis Bertrand <louisb@cre701.comm.mot.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Question: "blind" drop-box?
In-Reply-To: <199803032039.VAA06156@pizza.hvu.nl>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: louisb@cde714
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear nice folks on the wu-ftpd list,

I read the FAQ and the ftpd server man page as well as the
CERT notices and don't see any mention of using a "blind"
FTP site, meaning the "ls" and "mget" commands don't work
(return a "sorry you can't do that" message instead). This
is a suggestion from our internal networking support group.
That way, users must know what they are getting and can't go
on "fishing trips". 

Because I don't see any mention of this practice, I wonder
if this is an effective security practice or just a
worthless annoyance for legitimate users? 

By the way, how do I make a drop-box "blind"? meaning the
"ls" and "mget" commands don't work (return a message
instead). Making the directory permissions -w--w---- seems
to work but users can still create directories.

Ciao!
 --Louis

Louis Bertrand, Senior Engineer
Toronto Design Centre, LMPS, Motorola Canada Ltd.
3900 Victoria Park Avenue, North York, Ontario, M2H 3H7, Canada
Email:  <louisb@comm.mot.com> or <y10290@email.mot.com>
Telephone +1.416.756.5855  Fax +1.416.756.5643  Mailstop:  ONT1 



From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 18:00:16 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA12638;
	Tue, 3 Mar 1998 18:00:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA09292;
	Tue, 3 Mar 1998 17:57:30 -0600 (CST)
Received: from a.cni.org (a.cni.org [192.100.21.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA07348
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 17:53:06 -0600 (CST)
Received: by a.cni.org id <AA10076@a.cni.org>; Tue, 3 Mar 1998 18:49:37 -0500
Message-Id: <9803032349.AA10076@a.cni.org>
Date: Tue, 3 Mar 1998 18:49:37 -0500 (EST)
Reply-To: craig@cni.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig A Summerhill <craig@cni.org>
To: wu-ftpd@wugate.wustl.edu
Subject: C2 (enhanced) security on Ultrix 4.3a -- again
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I asked this question about C2 security on Ultrix last Saturday.  I 
have not received any replies.  The pointer to additional documentation
on this in the WU-FTPD FAQ:

   <URL:http://sawyer.wustl.edu/du4-docs/Digital_UNIX_Bookshelf.html>

is no longer a valid URL, it appears.  The host in questions isn't 
responding to HTTP queries.


> I am running wu-ftpd-2.4.2-beta-16, and I *did* see a note in the
> wu-ftpd FAQ file from Andrew Sawyer regarding how to do this on
> Digital Unix.  It is not clear to me how hisfix applies to Ultrix...
> 
> I was forced to upgrade the security on one of our hosts to level C2.
> It is an Ultrix 4.3a installation.  The default (B1?) security is 
> level is SECLEVEL=BSD.  At the C2 level (SECLEVEL=ENHANCED), passwords 
> are encrypted and stored is a shadow file outside the /etc/passwd file 
> using an authentication dbm database.
> 
> Anyway, wu-ftpd worked fine on this system...  until I upgraded.
> 
> Now, anonymous logins work correctly, but all the login attempts for
> real users fail.  The syslog captures the attempts as failed logins:
> 
> Feb 28 18:21:10 localhost: 9271 ftpd: USER listmgr
> Feb 28 18:21:14 localhost: 9271 ftpd: PASS password
> Feb 28 18:21:15 localhost: 9271 ftpd: failed login from host.domain [IP], user
> 
> I suspect I need to change a flag or some definitions and recompile the
> daemon, but my quick glance through the code and installation documents
> didn't turn up anything.  Anybody have a quick answer?


Has nobody compiled wu-ftpd for Ultrix with C2 security?  I find that 
hard to believe...
-- 

   Craig A. Summerhill, Systems Coordinator and Program Officer
   Coalition for Networked Information
   21 Dupont Circle, N.W., Washington, D.C.   20036
   Internet: craig@cni.org   AT&Tnet (202) 296-5098


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 18:51:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA13017;
	Tue, 3 Mar 1998 18:51:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA17665;
	Tue, 3 Mar 1998 18:48:19 -0600 (CST)
Received: from vs1.virtualisys.com ([207.137.172.173])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA03883
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 18:45:52 -0600 (CST)
Received: from ntrkcasa (pool34.hiper.net [207.137.172.34])
	by vs1.virtualisys.com (8.8.8/8.8.8) with SMTP id QAA28128
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 16:45:05 -0800 (PST)
Message-Id: <3.0.5.32.19980303164436.03450760@ccsales.com>
Date: Tue, 03 Mar 1998 16:44:36 -0800
Reply-To: randyk@ccsales.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Randy A. Katz" <randyk@ccsales.com>
To: wu-ftpd@wugate.wustl.edu
Subject: FreeBSD, wu-ftpd not working...just hanging.
In-Reply-To: <9803032349.AA10076@a.cni.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: randyk@ccsales.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

I
1. Installed FreeBSD through the net.
2. Did a pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/CVSup/cvsupit.tgz
3. Did the update for source, ports, and docs.
4. Did a cd /usr/src; make buildworld; make installworld; reboot


Now for some reason the ftpd doesn't provide a login prompt, just hangs. I
reinstalled wu-ftpd and the later version 2.4.2-beta16 and it still does
the same thing. I then made a custom kernel, rebooted, and still the same
thing.

httpd works fine and sendmail and everything looks fine...just ftp doesn't
work...

Any comments would be most appreciated.

Thanx,
Randy Katz

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 19:03:27 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA13121;
	Tue, 3 Mar 1998 19:03:23 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA04309;
	Tue, 3 Mar 1998 19:01:17 -0600 (CST)
Received: from vs1.virtualisys.com ([207.137.172.173])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA27291
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 18:57:04 -0600 (CST)
Received: from ntrkcasa (pool34.hiper.net [207.137.172.34])
	by vs1.virtualisys.com (8.8.8/8.8.8) with SMTP id QAA28952
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 16:56:16 -0800 (PST)
Message-Id: <3.0.5.32.19980303165546.009469f0@ccsales.com>
Date: Tue, 03 Mar 1998 16:55:46 -0800
Reply-To: randyk@ccsales.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Randy A. Katz" <randyk@ccsales.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: FreeBSD, wu-ftpd not working...just hanging.
In-Reply-To: <3.0.5.32.19980303164436.03450760@ccsales.com>
References: <9803032349.AA10076@a.cni.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: randyk@ccsales.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Now, 

It eventually goes give a login but waits for a long time beforehand (like
3-4 minutes).

Any suggestions?


At 04:44 PM 3/3/98 -0800, Randy A. Katz wrote:
>Hello,
>
>I
>1. Installed FreeBSD through the net.
>2. Did a pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/CVSup/cvsupit.tgz
>3. Did the update for source, ports, and docs.
>4. Did a cd /usr/src; make buildworld; make installworld; reboot
>
>
>Now for some reason the ftpd doesn't provide a login prompt, just hangs. I
>reinstalled wu-ftpd and the later version 2.4.2-beta16 and it still does
>the same thing. I then made a custom kernel, rebooted, and still the same
>thing.
>
>httpd works fine and sendmail and everything looks fine...just ftp doesn't
>work...
>
>Any comments would be most appreciated.
>
>Thanx,
>Randy Katz
>
>

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 19:16:20 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA13247;
	Tue, 3 Mar 1998 19:16:19 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA15956;
	Tue, 3 Mar 1998 19:13:56 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA08154
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 19:09:10 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id TAA10846;
	Tue, 3 Mar 1998 19:09:36 -0600
Message-Id: <Pine.LNX.3.96.980303190804.9197M-100000@ns1.fni.com>
Date: Tue, 3 Mar 1998 19:09:36 -0600 (CST)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: "Randy A. Katz" <randyk@ccsales.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FreeBSD, wu-ftpd not working...just hanging.
In-Reply-To: <3.0.5.32.19980303165546.009469f0@ccsales.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Could it be waiting on a reverse DNS lookup?  Are you sure your DNS
and resolver (/etc/resolv.conf) are working properly?

   -- Michael

On Tue, 3 Mar 1998, Randy A. Katz wrote:

> It eventually goes give a login but waits for a long time beforehand (like
> 3-4 minutes).

> >Now for some reason the ftpd doesn't provide a login prompt, just hangs. I
> >reinstalled wu-ftpd and the later version 2.4.2-beta16 and it still does
> >the same thing. I then made a custom kernel, rebooted, and still the same
> >thing.


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 19:28:55 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA13323;
	Tue, 3 Mar 1998 19:28:54 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA19871;
	Tue, 3 Mar 1998 19:26:38 -0600 (CST)
Received: from vs1.virtualisys.com ([207.137.172.173])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA20824
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 19:24:46 -0600 (CST)
Received: from ntrkcasa (pool34.hiper.net [207.137.172.34])
	by vs1.virtualisys.com (8.8.8/8.8.8) with SMTP id RAA01244;
	Tue, 3 Mar 1998 17:14:11 -0800 (PST)
Message-Id: <3.0.5.32.19980303171341.033f6150@ccsales.com>
Date: Tue, 03 Mar 1998 17:13:41 -0800
Reply-To: randyk@ccsales.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Randy A. Katz" <randyk@ccsales.com>
To: Michael Brennen <mbrennen@fni.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FreeBSD, wu-ftpd not working...just hanging.
In-Reply-To: <Pine.LNX.3.96.980303190804.9197M-100000@ns1.fni.com>
References: <3.0.5.32.19980303165546.009469f0@ccsales.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: randyk@ccsales.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

DNS Lookups are working fine, and quickly.

>Could it be waiting on a reverse DNS lookup?  Are you sure your DNS
>and resolver (/etc/resolv.conf) are working properly?
>
>> It eventually goes give a login but waits for a long time beforehand (like
>> 3-4 minutes).
>


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 19:34:58 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA13378;
	Tue, 3 Mar 1998 19:34:57 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA23681;
	Tue, 3 Mar 1998 19:32:59 -0600 (CST)
Received: from legolas.mdh.se (root@legolas.mdh.se [130.238.251.203])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA22356
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 19:28:13 -0600 (CST)
Received: from legolas.mdh.se (cel95eig@legolas.mdh.se [130.238.251.203])
	by legolas.mdh.se (8.8.7/8.8.7) with ESMTP id CAA11270;
	Wed, 4 Mar 1998 02:27:09 +0100 (MET)
Message-Id: <Pine.GSO.3.95.980304015358.20503I-100000@legolas.mdh.se>
Date: Wed, 4 Mar 1998 02:27:08 +0100 (MET)
Reply-To: Emil Isberg <emil.isberg@mds.mdh.se>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Emil Isberg <cel95eig@mds.mdh.se>
To: Louis Bertrand <louisb@comm.mot.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Question: "blind" drop-box?
In-Reply-To: <Pine.HPP.3.95.980303163016.10827G-100000@cde714>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
X-Sender: cel95eig@mds.mdh.se
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, 3 Mar 1998, Louis Bertrand wrote:
>Dear nice folks on the wu-ftpd list,

Ohh. A person who knows how he should get what he wants. ;-)
Thanks.

>I read the FAQ and the ftpd server man page as well as the
>CERT notices and don't see any mention of using a "blind"
>FTP site, meaning the "ls" and "mget" commands don't work
>(return a "sorry you can't do that" message instead). This
>is a suggestion from our internal networking support group.
>That way, users must know what they are getting and can't go
>on "fishing trips". 

Hmm .. I got some wondering what you wanted to do ..
But the rows you want to change are:
NLST = ftpcmd.y:323, ftpcmd.y:329
LIST = ftpcmd.y:337-340,ftpcmd.y:346-349

You can change them to 'reply(202, "XXX command ignored")' or perhaps a
better error code. ;-)

Well .. That removes the ls stuff .. and I think that mget relies on that
function .. Hmm .. the code is up to the user .. :-)
Btw this removes the ls code for all users, real or anonymous!!
Perhaps you need an other way of doing it.

You should also watch out for SITE cmds .. and keep it configurated right.
:-)

>Because I don't see any mention of this practice, I wonder
>if this is an effective security practice or just a
>worthless annoyance for legitimate users? 

Well. I can not understand why you want to "blind" the ftpd ..
But I concentrate on not letting the wrong people into the service, so how
they get the filelist, from the ftp or from the telnet doesn't matter for
me.

>instead). Making the directory permissions -w--w---- seems
>to work but users can still create directories.

Hmm .. funny permissions that one ..
You should make those ---x--x--x ..

Then the users can't modify the directory (and therefor can't create any
directory/file) .. but can access any files (that they know of) in the dir
.. They can't get the information out of the dir because it isn't
readable!!

Good luck with improving the security. Is a damn hard work.

And you wuftpd people: Is this the way to do it .. or is there
easier/better way to do it?

-- 
/Emil
On 2 Mar 1998, Anders Bornas wrote:
>Du har fel. Ge upp. *ligger på knän och bedjar*


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 20:20:15 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id UAA13718;
	Tue, 3 Mar 1998 20:20:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA02814;
	Tue, 3 Mar 1998 20:17:51 -0600 (CST)
Received: from rehost.com (root@hawk.rehost.com [199.97.122.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA26599
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 20:13:51 -0600 (CST)
Received: from hawk.rehost.com (bret@hawk.rehost.com [199.97.122.2])
	by rehost.com (8.8.8/8.8.8) with SMTP id UAA01208;
	Tue, 3 Mar 1998 20:33:42 -0500
Message-Id: <199803040133.UAA01208@rehost.com>
Date: Tue, 3 Mar 1998 20:33:42 -0500
Reply-To: bret@rehost.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bret McDanel <bret@rehost.com>
To: randyk@ccsales.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FreeBSD, wu-ftpd not working...just hanging.
In-Reply-To: <3.0.5.32.19980303171341.033f6150@ccsales.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: XCmail 0.11.7 - with PGP support, PGP engine version 0.4
X-Mailerorigin: http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id UAA27558
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I know I am jumping in the middle of this, and I dont know what all was
going on, but ..

could it be a failing identd lookup, where the querry is silently dropped
by a packetfilter/firewall?  And it waits for connect() to time out prior
to giving you a login prompt..


---Reply on mail from Randy A. Katz about FreeBSD, wu-ftpd not working...just hanging.

> DNS Lookups are working fine, and quickly.
> 
>>Could it be waiting on a reverse DNS lookup?  Are you sure your DNS
>>and resolver (/etc/resolv.conf) are working properly?
>>
>>> It eventually goes give a login but waits for a long time beforehand (like
>>> 3-4 minutes).
>>
>>
---End reply
-- 
Bret McDanel                                    http://www.rehost.com
Realistic Technologies, Inc.                             973-514-1144

     These opinions are mine, and may not be the same as my employer



From owner-wu-ftpd@wugate.wustl.edu  Tue Mar  3 23:24:25 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id XAA15002;
	Tue, 3 Mar 1998 23:24:23 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA13920;
	Tue, 3 Mar 1998 23:22:30 -0600 (CST)
Received: from kerouac.deepwell.com (kerouac.deepwell.com [207.212.140.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA06766
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Mar 1998 23:17:47 -0600 (CST)
Received: (qmail 12282 invoked from network); 4 Mar 1998 05:27:20 -0000
Received: from dis126.deepwell.com (HELO sduteam.com) (207.212.140.126)
  by kerouac.deepwell.com with SMTP; 4 Mar 1998 05:27:20 -0000
Message-Id: <34FCE2EB.7EBC385E@sduteam.com>
Date: Tue, 03 Mar 1998 21:13:15 -0800
Reply-To: goten@sduteam.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Derek Leung <goten@sduteam.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Is the new alternate password file patch in yet?
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,
   About 2 months ago, I saw from the archives that there will be a
patch for using different password file for wu-ftpd; other than
/etc/passwd.  I am just wondering if the patch is in yet?  Thanks for
reply.
rgd,
Derek


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar  4 03:09:15 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id DAA23153;
	Wed, 4 Mar 1998 03:09:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA08544;
	Wed, 4 Mar 1998 03:07:09 -0600 (CST)
Received: from g26.ethz.ch (root@natsumi-stud-hg1.ethz.ch [129.132.9.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id DAA13376
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 03:05:18 -0600 (CST)
Received: from iiic.ethz.ch ([194.209.247.90]) by g26.ethz.ch (8.8.4/8.7.1) with SMTP id KAA01091 for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 10:05:03 +0100 (MET)
Message-Id: <199803040905.KAA01091@g26.ethz.ch>
Date: Wed, 4 Mar 1998 10:05:13 +0100
Reply-To: Marc Eggenberger <meggenbe@iiic.ethz.ch>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Marc Eggenberger <meggenbe@iiic.ethz.ch>
To: wu-ftpd@wugate.wustl.edu
Subject: Some Question
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Marc Eggenberger's registered AK-Mail 3.0b [ger]
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id DAA19969
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi there.

I wanted to install wuftp2.4 on my SuSe Linux 5.1 Kernel 2.0.32.

So I dl it and then ... hmmm as I am new to linux I stuck. In all the howtows, faqs and books I have I only see texts about installing software that comes in packages ... but how do I install wuftp? How do I compile it?

Does someone hast a weak minute or two and send me two or three hints?

--
mfg

Eggenberger Marc
meggenbe@iiic.ethz.ch

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar  4 04:06:34 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id EAA27019;
	Wed, 4 Mar 1998 04:06:34 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA03373;
	Wed, 4 Mar 1998 04:04:27 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA29353
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 04:00:02 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA01429; Wed, 4 Mar 98 11:01:38 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    4 Mar 98 11:05:02 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 4 Mar 98 11:04:36 +0100
Message-Id: <139FEA58D3@lu-dal2.dal.lu.se>
Date: Wed, 4 Mar 1998 11:04:29 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: exiting on signal 11 & thanks
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Good morning,

Many, many thanks to all who helped me through the compilation, 
installation and bug workarounds of wu-ftpd-2.4.2-beta-16 (especially 
to Josef Siemes and Emil Isberg). Everything works excellently now!

Being unexperienced as to installing patches (I am studying the patch 
manual page), I used the workaround with separated parameters instead 
till beta-17 will appear, but that works fine too. (I was kicked of 
the list - due to some mail bouncing from our mail server evidently 
- during the time when the "beta-16 dies with single parm" thread was 
up, but have now retrieved the msgs from the archives).

Just one more little question (of a rather trivial nature and just 
out of curiosity): Is there anywhere to set the CC variable from 
start before running build. The only way to do it that I could think 
of was first running ./build sol and put up with the error msgs 
(because no compiler cc is found), then edit the CC variable in 
.../src/Makefile and .../support/Makefile and finally build again 
with no errors. Because those two Makefiles are created at build 
time, aren't they? I tried at first changing the variable in the two 
Makefile.gen but that wouldn't do. Darci Chapman in his "How-To Guide 
..." says "Be sure to set the environment variable CC to the 
appropriate path ...". But really setting CC as an environment 
variable doesn't do the trick either. Should it? The Makefiles will 
reset it anyway, won't they?

Sorry about the verbosity!

Best Regards,
Stig

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar  4 16:00:00 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA02970;
	Wed, 4 Mar 1998 15:59:57 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA01339;
	Wed, 4 Mar 1998 15:56:19 -0600 (CST)
Received: from fwns1.raleigh.ibm.com (fwns1d.raleigh.ibm.com [204.146.167.235])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA29099
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 15:46:09 -0600 (CST)
Received: from rtpmail01.raleigh.ibm.com (rtpmail01.raleigh.ibm.com [9.37.172.24]) by fwns1.raleigh.ibm.com (AIX4.2/UCB 8.7/8.7RTP-FW1.1) with ESMTP id QAA19570 for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 16:45:56 -0500 (EST)
Received: from houns02.houston.ibm.com (houns02.houston.ibm.com [9.35.40.19])
	by rtpmail01.raleigh.ibm.com (8.8.5/8.8.5/RTP-ral-1.1) with SMTP id QAA34000
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 16:45:56 -0500
Received: by houns02.houston.ibm.com(Lotus SMTP MTA v1.1 (385.6 5-6-1997))  id 862565BD.0076B30B ; Wed, 4 Mar 1998 15:36:30 -0600
Message-Id: <862565BD.00736D83.00@houns02.houston.ibm.com>
Date: Wed, 4 Mar 1998 15:14:02 -0600
Reply-To: tran@raleigh.ibm.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tran@raleigh.ibm.com
To: wu-ftpd@wugate.wustl.edu
Subject: time zone and ftpwho
Mime-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Lotus-FromDomain: HPSI
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I'm running AIX 4.2.0 and trying to test the beta-16 version of wu-ftpd.  I
changed  '#define SPT_TYPE SPT_REUSEARVG' to
'#define SPT_TYPE SPT_NONE' in the file /src/config/config.aix.  I also
made changes to access.c and ftpcount.c posted by
John Schulien.

I'm seeing two 'problems':
1. the time is 5 hours off in xferlog and 'ls -l'
2. ftpwho no longer reports what machine made the ftp connection
    Service class remote:
    15416     -    A    0:00  wu-ftpd:  client1.clearlake.ibm.com: anonymo
  This is what I see instead
     Service class remote:
     15416       -  A    0:00 ftpd -advlL -T3600 -u022

What am I doing wrong?

Thanks for any help

Thuy



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar  4 16:08:32 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA03060;
	Wed, 4 Mar 1998 16:08:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA07384;
	Wed, 4 Mar 1998 16:05:18 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA32357
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 16:03:03 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id OAA26560
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 14:03:00 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <GJLTAMVW>; Wed, 4 Mar 1998 14:02:57 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFAB4@cnfvs008.cnf.com>
Date: Wed, 4 Mar 1998 14:02:54 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftpaccess (w/ chmod) default parms
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello all,

I would like default permissions on a put to be set to 640,
how would I go about changing that ...
I think it's something like -u ###, or am I way off?

Also, I was tinkering with my ftpaccess file last week
and presto ... I was able to chmod a file during
an ftp session ... since then, I have tinkered,
yet am no longer able to chmod, even if I resart the process
and allow all to chmod in ftpaccess!!!!



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar  4 17:19:29 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA03677;
	Wed, 4 Mar 1998 17:19:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA07364;
	Wed, 4 Mar 1998 17:15:21 -0600 (CST)
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA07161
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 17:14:36 -0600 (CST)
Received: from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate.mot.com (8.8.5/8.6.10/MOT-3.8) with ESMTP id RAA23647 for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 17:12:59 -0600 (CST)
Received: from il02dns1.comm.mot.com (il02dns1.comm.mot.com [145.1.3.2]) by mothost.mot.com (8.8.5/8.6.10/MOT-3.8) with ESMTP id RAA20951 for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 17:12:59 -0600 (CST)
Received: from tor.comm.mot.com (cre701.comm.mot.com [145.67.2.5]) by il02dns1.comm.mot.com (8.7.5/8.7.3) with SMTP id RAA29861 for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 17:12:55 -0600 (CST)
Received: from cde714 by tor.comm.mot.com with SMTP
	(1.38.193.4/16.2) id AA03376; Wed, 4 Mar 1998 18:12:53 -0500
Message-Id: <Pine.HPP.3.95.980304103633.10827H-100000@cde714>
Date: Wed, 4 Mar 1998 18:12:53 -0500 (EST)
Reply-To: Louis Bertrand <louisb@comm.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Louis Bertrand <louisb@cre701.comm.mot.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Question: "blind" drop-box?
In-Reply-To: <Pine.HPP.3.95.980303163016.10827G-100000@cde714>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: louisb@cde714
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Thanks to all who replied to my request. I need to "grill"
our network security people to find out why they recommend
the "blind" FTP site, before I spend too much time
implementing it...

Ciao!
 --Louis

Louis Bertrand, Senior Engineer
Toronto Design Centre, LMPS, Motorola Canada Ltd.
3900 Victoria Park Avenue, North York, Ontario, M2H 3H7, Canada
Email:  <louisb@comm.mot.com> or <y10290@email.mot.com>
Telephone +1.416.756.5855  Fax +1.416.756.5643  Mailstop:  ONT1 


On Tue, 3 Mar 1998, Louis Bertrand wrote:

> Dear nice folks on the wu-ftpd list,
> 
> I read the FAQ and the ftpd server man page as well as the
> CERT notices and don't see any mention of using a "blind"
> FTP site, meaning the "ls" and "mget" commands don't work
> (return a "sorry you can't do that" message instead). This
> is a suggestion from our internal networking support group.
> That way, users must know what they are getting and can't go
> on "fishing trips". 
> 
> Because I don't see any mention of this practice, I wonder
> if this is an effective security practice or just a
> worthless annoyance for legitimate users? 
> 
> By the way, how do I make a drop-box "blind"? meaning the
> "ls" and "mget" commands don't work (return a message
> instead). Making the directory permissions -w--w---- seems
> to work but users can still create directories.
> 
> Ciao!
>  --Louis
> 
> Louis Bertrand, Senior Engineer
> Toronto Design Centre, LMPS, Motorola Canada Ltd.
> 3900 Victoria Park Avenue, North York, Ontario, M2H 3H7, Canada
> Email:  <louisb@comm.mot.com> or <y10290@email.mot.com>
> Telephone +1.416.756.5855  Fax +1.416.756.5643  Mailstop:  ONT1 
> 
> 
> 



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar  4 18:10:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA04053;
	Wed, 4 Mar 1998 18:10:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA09467;
	Wed, 4 Mar 1998 18:05:47 -0600 (CST)
Received: from pascamail-2.pmi (mail.citysearch.com [205.227.223.133])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA10352
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 18:03:12 -0600 (CST)
Received: from KATHMANDU.pmi by pascamail-2.pmi with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1458.49)
	id FXK4SAB3; Wed, 4 Mar 1998 16:01:53 -0800
Message-Id: <199803050003.SAA10352@wugate.wustl.edu>
Date: Wed, 4 Mar 1998 18:03:12 -0600 (CST)
Reply-To: mjollnir@citysearch.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Bergstrom <mjollnir@citysearch.com>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd-bugs@academ.com, lee@solo.hrl.hac.com
Subject: IRIX GMT SPT_NONE fix: beta-13 works; beta-16 breaks
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: Mark Bergstrom@pop.pmi
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

There is probably a subtle address-shift bug, but I can't see what causes
this without stepping through each side-by-side in gdb or the ProDev
debugger and my time for this is limited.  

What I notice between the two ftpd.c versions is that 16 is attempting to be
all-comprehensive with its initsetproctitle and rewritten SPT_TYPE cases
while in 13, it was simply an oversight in the config.h since SPT_REUSEARGV
doesn't work in IRIX.  Nothing else in the contrast jumps out at me.

The ctime(&curtime) pointers look identical for both releases and this
pointer to the 26 character string should pull the value from /etc/TIMEZONE
correctly since this is actually read by init following the system boot and
is understood by other syslog calls independent of needing to set the
environment variable TZ locally in the shell that builds wu-ftpd.  However,
the default values of altzone [the difference in seconds from UTC] and
timezone are zero {UTC}. Why beta-16's syslog() calls cannot see the correct
time is not obvious.

The declarations in the /usr/include/time.h are standard.

Beta-13 with SPT_TYPE set to SPT_NONE built on IRIX5.3,6.2,6.4 (but without
the -n32 ABI) does produce the correct timestamps in both /var/adm/SYSLOG
and /usr/local/logs/xferlog.  Setting the ABI for enhanced 32-bit produces
only warnings, but other minor mysteries show up so I gave up on that.
Porting to 64 bit is the next challenge for all the newer Origin boxes.  


Mark Bergstrom
_____________________________________________________________________________
UNIX TEAM--Dedicated to the proposition that the last good thing written in C
	   was not Shubert's 9th Symphony


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar  4 22:06:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id WAA00964;
	Wed, 4 Mar 1998 22:06:17 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA02252;
	Wed, 4 Mar 1998 22:02:50 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA06755
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 21:58:19 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id TAA03305
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 19:58:14 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA131562135; Thu, 5 Mar 1998 09:28:55 +0500
Message-Id: <199803050358.TAA03305@palrel1.hp.com>
Date: Thu, 5 Mar 1998 09:28:54 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Cc: harshalj@india.hp.com (Harshal Savalia)
Subject: CA-97.16.ftpd - ftpd Signal Handling Vulnerability (fwd)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

	I had posted  following  mail on 3rd March on this  list.  But I
	didn't get reply from  anybody.  Please, can anybody  help me in
	sortng out this issue.

	Thanks in advance for any help.

With Regards,
Harshal

----- Forwarded message from Harshal Savalia -----

> From owner-wu-ftpd@wugate.wustl.edu Tue Mar  3 19:35:14 IST 1998
> Message-Id: <199803031342.FAA15532@palrel3.hp.com>
> Date: Tue, 3 Mar 1998 19:13:39 +0500 (IST)
> Reply-To: harshalj@india.hp.com
> Sender: owner-wu-ftpd@wugate.wustl.edu
> From: Harshal Savalia <harshalj@india.hp.com>
> To: wu-ftpd@wugate.wustl.edu
> Cc: harshalj@india.hp.com (Harshal Savalia)
> Subject: CA-97.16.ftpd - ftpd Signal Handling Vulnerability 
> X-Mailer: ELM [Revision: 213.1]
> X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> 
> Hello,
> 
> 	Today when I was looking  for the fix of  CA-97.16.ftpd  - "ftpd
> 	Signal  Handling  Vulnerability"  I noted that the modified code
> 	portion is included with
> 
> 		#ifdef NEED_SIGFIX
> 			
> 			...
> 			sigfix code...
> 			...
> 
> 		#endif
> 
> 	But  NEED_SIGFIX  is defined only in  config.lnx  file.  Does it
> 	mean that this code portion is only for linux operating system ?
> 	Can I use it for HP-UX ?  Will it work for it ?
> 
> 	Any suggestions are welcomed...
> 
> Thanks,
> Harshal
> -- 

----- End of forwarded message from Harshal Savalia -----

-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
30C, Cunningham Road				Fax   : (91)(80)2200196
Bangalore 560 052				Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar  4 22:30:58 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id WAA01227;
	Wed, 4 Mar 1998 22:30:57 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA24659;
	Wed, 4 Mar 1998 22:28:17 -0600 (CST)
Received: from pascamail-2.pmi (mail.citysearch.com [205.227.223.133])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA04886
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Mar 1998 22:24:53 -0600 (CST)
Received: from KATHMANDU.pmi by pascamail-2.pmi with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1458.49)
	id FXK4SBX9; Wed, 4 Mar 1998 20:23:31 -0800
Message-Id: <199803050424.WAA04886@wugate.wustl.edu>
Date: Wed, 4 Mar 1998 22:24:53 -0600 (CST)
Reply-To: lee@solo.hrl.hac.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Lee <lee@solo.hrl.hac.com>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd-bugs@academ.com
Subject: Re:  IRIX GMT SPT_NONE fix: beta-13 works; beta-16 breaks
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: Mark Bergstrom@pop.pmi
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>Date: Wed, 4 Mar 1998 18:15:13 -0800
>From: lee@flounder.hrl.hac.com (Craig Lee)
>To: Mark Bergstrom <mjollnir@citysearch.com>
>Subject: Re:  IRIX GMT SPT_NONE fix: beta-13 works; beta-16 breaks
>Reply-To: lee@solo.hrl.hac.com
>
>Hi Mark!
>
>>The ctime(&curtime) pointers look identical for both releases and this
>>pointer to the 26 character string should pull the value from /etc/TIMEZONE
>
>No, the above is wrong.  ctime() doesn't touch /etc/TIMEZONE, it checks
>TZ, and it expects init to have read /etc/TIMEZONE at system boot time
>and for all processes created by init or its descendants to have TZ set
>correctly.
>
>>correctly since this is actually read by init following the system boot and
>>is understood by other syslog calls independent of needing to set the
>>environment variable TZ locally in the shell that builds wu-ftpd.  However,
>
>syslog() is not independent of TZ.  It's independent of /etc/TIMEZONE.
>
>Cut&pasting the following worked on an irix6.3 O2 and an irix5.3
>Indigo^2 here, so i'd expect it to work at your place too:
>
>#++ begin ++
>cat /etc/TIMEZONE
>cat >ctimetest.c <<EOF
>#include <stdio.h>
>#include <time.h>
>main(){time_t t;printf(ctime((t=time(0),&t)));}
>EOF
>make ctimetest
>./ctimetest
>csh unsetenv TZ
>./ctimetest
>exit
>./ctimetest
>#-- end --
>
>The above conlusively proves (at least on SGI's here) that "ctime()"
>does not check /etc/TIMEZONE but does check the environment variable
>TZ.
>
>And when i cut&pasted this on an irix6.3 O2 and an irix5.3 Indigo^2:
>
>#++
>cat >syslogtest.c <<EOF
>#include <syslog.h>
>main(int c,char**v){syslog(LOG_USER,c>1?v[1]:"test");}
>EOF
>make syslogtest
>./syslogtest
>csh
>unsetenv TZ
>./syslogtest test2
>exit
>./syslogtest
>tail -f /usr/adm/SYSLOG
>#--
>
>tail showed:
>	Mar  4 17:22:27 0B:basenji syslog: test
>	Mar  5 01:22:28 0B:basenji syslog: test2
>	Mar  4 17:22:28 0B:basenji syslog: test
>and similarly for the other.
>
>The above pretty conclusively proves (at least on the SGI's here) that,
>when using "syslog()", /etc/TIMEZONE is not checked but the environment
>variable TZ is checked.
>
>init et al do check /etc/TIMEZONE, then they set environment variables
>like TZ.  But, as the above tests show, the setting of /etc/TIMEZONE is
>irrelevant to the problem at hand, the setting of TZ is relevant.
>
>I think it's probably like you said last night: somewhere beta-16 is
>doing something that's overwriting the saved environment strings so
>that when "syslog()", via "ctime()", tries to check TZ, it's been
>zapped.
>
>Or TZ isn't getting set.
>
>Or the wuftpd daemon is doing a an exec*() call w/out the "char*
>envp[]" array correctly set.
>
>But it has nothing to do /etc/TIMEZONE.
>
>-- -- --
>C Code.  C Code Run.  Run, Code, RUN!
>


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar  5 09:19:01 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA17020;
	Thu, 5 Mar 1998 09:19:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA24800;
	Thu, 5 Mar 1998 09:16:09 -0600 (CST)
Received: from turing.mathworks.com (turing.mathworks.com [144.212.100.12])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA19712
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 09:14:31 -0600 (CST)
Received: from noc.mathworks.com (noc.mathworks.com [144.212.95.24])
	by turing.mathworks.com (8.8.5/8.8.5) with ESMTP id KAA06242
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 10:14:00 -0500 (EST)
Received: from localhost (dave@localhost) by noc.mathworks.com (8.6.12/8.6.12-mathworks-client) with SMTP id KAA07556 for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 10:14:00 -0500
Message-Id: <Pine.GSO.3.95.980305101022.7444B-100000@krasnoyarsk>
Date: Thu, 5 Mar 1998 10:14:00 -0500 (EST)
Reply-To: Dave Pascoe <dave@mathworks.com>, Tom Yates <madhatta@mathworks.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Pascoe <dave@mathworks.com>
To: wu-ftpd@wugate.wustl.edu
Subject: segv on Solaris 2.5.1 (academ-BETA16)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: dave@krasnoyarsk
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

academ ftpd (2.4.2-BETA16) is dying (with signal 11) right out of the gate
when running as 'in.ftpd -a'

When running as 'in.ftpd -a -d' it seems to work fine.

Has anyone else experienced this? Any pointers appreciated...I've already
checked the list archives.

--
Dave Pascoe  | mailto:dave@mathworks.com  |  Voice: 508.647.7362
K M 3 T      | http://www.mathworks.com   |    FAX: 508.647.7002
PGP fingerprint: 53 AD 71 88 2F AA 45 AC D0 2E 68 91 71 77 39 AF


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar  5 09:43:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA17297;
	Thu, 5 Mar 1998 09:43:42 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA24934;
	Thu, 5 Mar 1998 09:41:15 -0600 (CST)
Received: from stcgate.statcan.ca (stcgate.statcan.ca [142.206.192.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA14307
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 09:38:42 -0600 (CST)
Received: (from root@localhost) by stcgate.statcan.ca (8.6.11/8.6.9) id KAA08270 for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 10:42:23 -0500
Received: from stcinet.statcan.ca(142.206.128.146) by stcgate via smap (V1.3)
	id sma008245; Thu Mar  5 15:41:59 1998
Received: from statcan.ca by statcan.ca (SMI-8.6/SMI-SVR4)
	id KAA13730; Thu, 5 Mar 1998 10:40:31 -0500
Message-Id: <34FEC65D.AD0666F8@statcan.ca>
Date: Thu, 05 Mar 1998 10:35:57 -0500
Reply-To: nourmha@statcan.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "M. Nour" <nourmha@statcan.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: (no subject)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.03 [en] (WinNT; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I will like to subscribe to the Mailing Lists


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar  5 16:34:43 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA21633;
	Thu, 5 Mar 1998 16:34:42 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA20058;
	Thu, 5 Mar 1998 16:30:24 -0600 (CST)
Received: from dragon.photronics.com (dragon.photronics.com [207.77.140.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA22297
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 16:26:51 -0600 (CST)
Received: by dragon.photronics.com; (5.65v3.2/1.3/10May95) id AA11653; Thu, 5 Mar 1998 14:26:49 -0800
Received: from m4300.photronics.com by nimitz.photronics.com (SMI-8.6/SMI-SVR4)
	id OAA10454; Thu, 5 Mar 1998 14:28:24 -0800
Received: from st-peter.dallas.photronics.com by m4300.photronics.com with SMTP;
          Thu, 5 Mar 1998 14:23:29 -0800 (PST)
Received: from pmvax5.dallas.photronics.com by st-peter.dallas.photronics.com with SMTP;
          Thu, 5 Mar 1998 16:22:31 -0600 (CST)
Received: from dallas.photronics.com ([172.16.32.16]) by pmvax5.dallas.photronics.com with SMTP;
          Thu, 5 Mar 1998 16:22:43 -0600 (CST)
Message-Id: <34FF2533.4F148043@dallas.photronics.com>
Date: Thu, 05 Mar 1998 16:20:35 -0600
Reply-To: kpatton@dallas.photronics.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Keith Patton <kpatton@dallas.photronics.com>
To: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Statically linked executables with SolarisX86
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: kpatton@mailhost.photronics.com
X-Mailer: Mozilla 4.04 [en] (X11; U; SunOS 5.5.1 sun4u)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi everyone,

  I have managed to compile ls for Sparc Solaris without too
many problems, and have had it running for a while.  Now
when I take the same source code to a X86 Solaris box and
link it, I get a segmentation falt in _init. ( from gdb )
Has anyone managed to compile ls as a static executable on
Solaris X86?

regards,

 Keith


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar  5 16:47:44 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA21779;
	Thu, 5 Mar 1998 16:47:43 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA22290;
	Thu, 5 Mar 1998 16:43:08 -0600 (CST)
Received: from its.okay.net (cns.ipf.net [195.211.211.24])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA15202
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 16:38:17 -0600 (CST)
Received: from babe02 ([195.211.203.213]) by its.okay.net
          (Netscape Mail Server v2.02) with SMTP id AAA23766
          for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 23:38:09 +0100
Message-Id: <01bd4887$86ba8f00$0200a8c0@babe02>
Date: Thu, 5 Mar 1998 23:39:15 +0100
Reply-To: mdoering@gmx.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Marcel Doering" <mdoering@gmx.net>
To: <wu-ftpd@wugate.wustl.edu>
Subject: 500 Illegal PORT Command
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi.

It seems my wu-ftpd doesn´t like PORT command if they point to an other IP
then the one from the originating Client i.e from me. I want to transfer
files between two ftp-sites without using my bandwith in PASV mode but
everytime it fails with 500 Illegal PORT Command, if I enter my IP, it runs
excellent.

Has anyone got an idea ?

Sorry for this, but I can´t subscribe to the mailing-list right now, because
my POP3-Server will change shortly (I will read all mails, though) so
please (!!!) set cc´s to marcel@okay.net

Thanks a lot in advance.

--
Besten Gruss aus Frankfurt am Main
Marcel Doering, Okay.Net Support-Team, Administration
Support-Rufnummer: 0190/876655
http://www.okay.net


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar  5 17:38:21 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA22126;
	Thu, 5 Mar 1998 17:38:21 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA29001;
	Thu, 5 Mar 1998 17:35:25 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA28426
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 17:33:12 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
	by thongvilay.giganet.net (8.8.5/8.8.5) with SMTP id IAA20951;
	Fri, 6 Mar 1998 08:33:02 +0900 (JST)
Message-Id: <Pine.GSO.3.95LJ1.1b4.980306083100.20830A-100000@thongvilay.giganet.net>
Date: Fri, 6 Mar 1998 08:33:01 +0900 (JST)
Reply-To: tatsuya@giganet.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Tatsuya Kawasaki <tatsuya@giganet.net>
To: Keith Patton <kpatton@dallas.photronics.com>
Cc: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Statically linked executables with SolarisX86
In-Reply-To: <34FF2533.4F148043@dallas.photronics.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello Keith,

Where do you get ls source code that you can link statically.
Currently I use dymanic link ls with wu-ftpd daemon on solaris 2.5

thnx in adv.

tatsuya





$B$+$o$5$-(B


= = = = = =
$BEEOC(B 03-3239-0607 fax 03-3239-2609
business network telecom
http://www.giganet.net

On Thu, 5 Mar 1998, Keith Patton wrote:

> Hi everyone,
> 
>   I have managed to compile ls for Sparc Solaris without too
> many problems, and have had it running for a while.  Now
> when I take the same source code to a X86 Solaris box and
> link it, I get a segmentation falt in _init. ( from gdb )
> Has anyone managed to compile ls as a static executable on
> Solaris X86?
> 
> regards,
> 
>  Keith
> 
> 


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar  5 18:21:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA22399;
	Thu, 5 Mar 1998 18:21:48 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA21515;
	Thu, 5 Mar 1998 16:15:23 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA30683
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 10:31:25 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA10553; Thu, 5 Mar 98 17:33:05 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    5 Mar 98 17:36:04 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 5 Mar 98 17:35:54 +0100
Message-Id: <17B381E97@lu-dal2.dal.lu.se>
Date: Thu, 5 Mar 1998 17:35:51 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: dave@mathworks.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: segv on Solaris 2.5.1 (academ-BETA16)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Thu, 5 Mar 1998 10:14:00 -0500 (EST) Dave Pascoe wrote:

> academ ftpd (2.4.2-BETA16) is dying (with signal 11) right out of the gate
> when running as 'in.ftpd -a'
> 
> When running as 'in.ftpd -a -d' it seems to work fine.
> 
> Has anyone else experienced this? 

Hi Dave,

If !!! It has given me and evidently also some others several new 
gray hairs. But the solution is simple. Please see reply to this list 
by Josef Siemes 3 March. The simplest solution for the time being 
(there is a better one also - see thread mentioned below) is to use 
at least two paramaters, and keep them separated: in.ftpd -a -d 
(e.g. in.ftpd -ad is just as fatal).

There was a whole thread about this bug by the end of december. 
You'll find the documentation at address given in Josef's msg.

Best Regards!
Stig

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar  5 18:29:07 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA22459;
	Thu, 5 Mar 1998 18:29:06 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA03529;
	Thu, 5 Mar 1998 16:27:16 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA12268
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Mar 1998 14:59:13 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA29227; Thu, 5 Mar 98 22:00:58 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    5 Mar 98 22:04:02 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 5 Mar 98 22:03:59 +0100
Message-Id: <5F3372E54@lu-dal2.dal.lu.se>
Date: Thu, 5 Mar 1998 22:03:51 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: exiting on signal 11 & thanks
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Thank you, Hans!

> i did make for all the compilation work a symbolic link,
> as i nedd this every time and again and again, from 
> cc to gcc. for example: 
> ln -s /opt/FSFgcc/bin/gcc /usr/local/cc

Yes, it should have been obvious even to me. But my thoughts seemed to
go astray, as it were, because of Darci Chapmans talk of setting the
environment variable CC (which it is not, being a variable inside
scripts). I used a symbolic link, like you suggested, and it works
beautifully.

Greetings from an icy and snowy Lund,
Stig

P.S. I tried to send this directly to you at mayer@relay.bfl.at but 
it bounced with:

While talking to relay.bfl.at:
>>> MAIL From:<@nomina.lu.se:si@LU-DAL2.DAL.LU.SE>
<<< 501 Syntax error
554 <mayer@relay.bfl.at>... Remote protocol error

   ----- Recipients of this delivery -----
Bounced, cannot deliver:
   <mayer@relay.bfl.at>

Just thought you ought to know (something amiss with your mail 
server?).

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar  6 07:30:47 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id HAA07770;
	Fri, 6 Mar 1998 07:30:44 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA23699;
	Fri, 6 Mar 1998 07:28:25 -0600 (CST)
Received: from dragon.photronics.com (dragon.photronics.com [207.77.140.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA28352
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Mar 1998 07:26:21 -0600 (CST)
Received: by dragon.photronics.com; (5.65v3.2/1.3/10May95) id AA18434; Fri, 6 Mar 1998 05:26:20 -0800
Received: from m4300.photronics.com by nimitz.photronics.com (SMI-8.6/SMI-SVR4)
	id FAA16746; Fri, 6 Mar 1998 05:27:54 -0800
Received: from st-peter.dallas.photronics.com by m4300.photronics.com with SMTP;
          Fri, 6 Mar 1998 5:22:59 -0800 (PST)
Received: from pmvax5.dallas.photronics.com by st-peter.dallas.photronics.com with SMTP;
          Fri, 6 Mar 1998 7:22:02 -0600 (CST)
Received: from dallas.photronics.com ([172.16.32.16]) by pmvax5.dallas.photronics.com with SMTP;
          Fri, 6 Mar 1998 7:22:10 -0600 (CST)
Message-Id: <34FFF7FB.36CBC98D@dallas.photronics.com>
Date: Fri, 06 Mar 1998 07:19:55 -0600
Reply-To: kpatton@dallas.photronics.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Keith Patton <kpatton@dallas.photronics.com>
To: Tatsuya Kawasaki <tatsuya@giganet.net>
Cc: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Statically linked executables with SolarisX86
References: <Pine.GSO.3.95LJ1.1b4.980306083100.20830A-100000@thongvilay.giganet.net>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------DB40D1203FDB178B2597E358"
X-Sender: kpatton@mailhost.photronics.com
X-Mailer: Mozilla 4.04 [en] (X11; U; SunOS 5.5.1 sun4u)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.
--------------DB40D1203FDB178B2597E358
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tatsuya Kawasaki wrote:

> Hello Keith,
>
> Where do you get ls source code that you can link statically.
> Currently I use dymanic link ls with wu-ftpd daemon on solaris 2.5
>
> thnx in adv.
>
> tatsuya
>
> $B$+$o$5$-(B
>
> = = = = = =
> $BEEOC(B 03-3239-0607 fax 03-3239-2609
> business network telecom
> http://www.giganet.net
>
> On Thu, 5 Mar 1998, Keith Patton wrote:
>
> > Hi everyone,
> >
> >   I have managed to compile ls for Sparc Solaris without too
> > many problems, and have had it running for a while.  Now
> > when I take the same source code to a X86 Solaris box and
> > link it, I get a segmentation falt in _init. ( from gdb )
> > Has anyone managed to compile ls as a static executable on
> > Solaris X86?
> >
> > regards,
> >
> >  Keith
> >
> >

  The source code that I used was from GNU fileutils..Then modified
the Makefile to make static compiles and links.  You will also need
this C file:

Which came from this patch that someone else did:




--------------DB40D1203FDB178B2597E358
Content-Type: text/plain; charset=us-ascii; name="static-ls.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="static-ls.c"

/* static-ls.c rec.1, by Emil Isberg <eig@mds.mdh.se> *
/* static-ls.c rev.2, by Brett Porter <porter@carbon.chem.nyu.edu>*/
 /* static-ls.c rev.2.1, by Emil Isberg <eig@mds.mdh.se> */
 /*  for gnufileutils ..  under Solaris 2.5 */
 /* To compile .. get the lates version of gnufileutil .. */
 /*  add this file */
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <limits.h>
 #include <sys/types.h>
 #include <sys/uio.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 
 #define FPASSWD "/etc/passwd"
 #define FGROUP  "/etc/group"
 
 char *dlopen()  { return 0;}
 int   dlclose() { return 0;}
 char *dlsym()   { return 0;}
 char *dlerror() { return "dynamic linking not loaded";}
 
 typedef struct {
   uid_t uid;
   char *user_name;
 } pw_entry;
 
 typedef struct {
   gid_t gid;
   char *group_name;
 } group_entry;
 
 static pw_entry    *pw_array = NULL;
 static group_entry *group_array = NULL;
 
 static void fill_pw_array (void);
 static void fill_group_array (void);
 
 static void
 fill_pw_array (void)
 {
   int fd;
   int ok;
   static char *pw_buf;
   struct stat statbuf;
   char *cp;
   int n_entries;
   int n_read;
   int entry;
 
   fd = open (FPASSWD, O_RDONLY);
   if (fd < 0) {
     fprintf (stderr, "Error opening password file.\n");
     return;
   }
 
   ok = fstat (fd, &statbuf);
   if (ok != 0) {
     fprintf (stderr, "Error stat-ing passwd file.\n");
     close (fd);
     return;
   }
 
   pw_buf = malloc (statbuf.st_size + 1);
   if (pw_buf == NULL) {
     fprintf (stderr, "Error allocating memory.\n");
     close (fd);
     return;
   }
 
   n_read = read (fd, pw_buf, (size_t) statbuf.st_size);
   if (n_read !=  statbuf.st_size) {
     perror (NULL);
     fprintf (stderr, "Error reading password file.\n");
     free (pw_buf);
     close (fd);
     return;
   }
   pw_buf [statbuf.st_size] = '\0';
   close (fd);
 
   n_entries = 0;
   for (cp = pw_buf; *cp != '\0'; cp++) {
     if (*cp == '\n')
       n_entries++;
   }
 
   pw_array = (pw_entry *) malloc ((n_entries + 1) * sizeof (pw_entry));
   if (pw_array == NULL) {
     fprintf (stderr, "Error allocating memory.\n");
     free (pw_buf);
     return;
   }
 
   pw_array [n_entries].uid = -1;
   cp = pw_buf;
   for (entry = 0; entry < n_entries; entry++) {
     pw_array [entry].user_name = cp;
     while (*cp != ':')
       cp++;
     *cp++ = '\0';
     while (*cp != '\n')
       cp++;
     cp++;
     pw_array [entry].uid = atoi (cp);
     while (*cp != '\n')
       cp++;
     cp++;
   }
 }
 
 
 static void
 fill_group_array (void)
 {
   int fd;
   int ok;
   static char *group_buf;
   struct stat statbuf;
   char *cp;
   int n_entries;
   int n_read;
   int entry;
 
   fd = open (FGROUP, O_RDONLY);
   if (fd < 0) {
     fprintf (stderr, "Error opening group file.\n");
     return;
   }
 
   ok = fstat (fd, &statbuf);
   if (ok != 0) {
     fprintf (stderr, "Error stat-ing group file.\n");
     close (fd);
     return;
   }
 
   group_buf = malloc (statbuf.st_size + 1);
   if (group_buf == NULL) {
     fprintf (stderr, "Error allocating memory.\n");
     close (fd);
     return;
   }
 
   n_read = read (fd, group_buf, (size_t) statbuf.st_size);
   if (n_read !=  statbuf.st_size) {
     perror (NULL);
     fprintf (stderr, "Error reading group file.\n");
     free (group_buf);
     close (fd);
     return;
   }
   group_buf [statbuf.st_size] = '\0';
   close (fd);
 
   n_entries = 0;
   for (cp = group_buf; *cp != '\0'; cp++) {
     if (*cp == '\n')
       n_entries++;
   }
 
   group_array =
     (group_entry *) malloc ((n_entries + 1) * sizeof (group_entry));
   if (group_array == NULL) {
     fprintf (stderr, "Error allocating memory.\n");
     free (group_buf);
     return;
   }
 
   group_array [n_entries].gid = -1;
   cp = group_buf;
   for (entry = 0; entry < n_entries; entry++) {
     group_array [entry].group_name = cp;
     while (*cp != ':')
       cp++;
     *cp++ = '\0';
     while (*cp != '\n')
       cp++;
     cp++;
     group_array [entry].gid = atoi (cp);
     while (*cp != '\n')
       cp++;
     cp++;
   }
 }
 
 char *
 getuser(uid_t uid)
 {
   pw_entry *p_pw;
   static char uid_str [11];
 
   if (pw_array == NULL)
     fill_pw_array ();
   if (pw_array == NULL) {
     sprintf (uid_str, "%lu", uid);
     return uid_str;
   }
 
   for (p_pw = pw_array; p_pw->uid != -1; p_pw++) {
     if (p_pw->uid == uid)
       return p_pw->user_name;
   }
   sprintf (uid_str, "%lu", uid);
   return uid_str;
 }
  
 char *
 getgroup(gid_t gid)
 {
   group_entry *p_group;
   static char gid_str [11];
 
   if (group_array == NULL)
     fill_group_array ();
   if (group_array == NULL) {
     sprintf (gid_str, "%lu", gid);
     return gid_str;
   }
 
   for (p_group = group_array; p_group->gid != -1; p_group++) {
     if (p_group->gid == gid)
       return p_group->group_name;
   }
   sprintf (gid_str, "%lu", gid);
   return gid_str;
 }



--------------DB40D1203FDB178B2597E358
Content-Type: text/plain; charset=us-ascii; name="fileutils-3.13_static-ls.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="fileutils-3.13_static-ls.patch"

*** fileutils-3.13/src/Makefile Fri Dec 13 17:24:37 1996
--- old/fileutils-3.13/src/Makefile     Fri Dec 13 16:18:22 1996
***************
*** 68,74 ****
  cp_SOURCES = cp.c cp-aux.c cp-hash.c
  dir_SOURCES = ls.c ls-dir.c
  vdir_SOURCES = ls.c ls-vdir.c
! ls_SOURCES = ls.c ls-ls.c
  
  BUILT_SOURCES = #M#dircolors.h
  PERL = /home/sdu/cel95eig/bin/mine/perl
--- 68,75 ----
  cp_SOURCES = cp.c cp-aux.c cp-hash.c
  dir_SOURCES = ls.c ls-dir.c
  vdir_SOURCES = ls.c ls-vdir.c
! static-ls_SOURCES = static-ls.c
! ls_SOURCES = ls.c ls-ls.c $(static-ls_SOURCES)
  
  BUILT_SOURCES = #M#dircolors.h
  PERL = /home/sdu/cel95eig/bin/mine/perl
***************
*** 87,94 ****
  LEX = @LEX@
  YACC = byacc
  CPPFLAGS = 
! CFLAGS = -g -O
! LDFLAGS = 
  LIBS = -lintl -lgen 
  
  COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
--- 88,95 ----
  LEX = @LEX@
  YACC = byacc
  CPPFLAGS = 
! CFLAGS = -static -g -O
! LDFLAGS = -static
  LIBS = -lintl -lgen 
  
  COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
***************
*** 136,142 ****
  vdir_OBJECTS = ls$o ls-vdir$o
  EXTRA_vdir_SOURCES =
  vdir_LDADD = $(LDADD)
! ls_OBJECTS = ls$o ls-ls$o
  EXTRA_ls_SOURCES =
  ls_LDADD = $(LDADD)
  mkdir_SOURCES = mkdir.c
--- 137,144 ----
  vdir_OBJECTS = ls$o ls-vdir$o
  EXTRA_vdir_SOURCES =
  vdir_LDADD = $(LDADD)
! static-ls_OBJECTS = static-ls$o
! ls_OBJECTS = ls$o ls-ls$o $(static-ls_OBJECTS)
  EXTRA_ls_SOURCES =
  ls_LDADD = $(LDADD)
  mkdir_SOURCES = mkdir.c
*** fileutils-3.13/src/static-ls.c      Fri Dec 13 16:13:44 1996
--- fileutils-3.13/src/static-ls.c      Fri Dec 11 15:29:46 1996
***************
*** 0 ****
--- 1,230 ----
+ /* static-ls.c rec.1, by Emil Isberg <eig@mds.mdh.se> */
+ /* static-ls.c rev.2, by Brett Porter <porter@carbon.chem.nyu.edu>*/
+ /* static-ls.c rev.2.1, by Emil Isberg <eig@mds.mdh.se> */
+ /*  for gnufileutils ..  under Solaris 2.5 */
+ /* To compile .. get the lates version of gnufileutil .. */
+ /*  add this file */
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <limits.h>
+ #include <sys/types.h>
+ #include <sys/uio.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ 
+ #define FPASSWD "/etc/passwd"
+ #define FGROUP  "/etc/group"
+ 
+ char *dlopen()  { return 0;}
+ int   dlclose() { return 0;}
+ char *dlsym()   { return 0;}
+ char *dlerror() { return "dynamic linking not loaded";}
+ 
+ typedef struct {
+   uid_t uid;
+   char *user_name;
+ } pw_entry;
+ 
+ typedef struct {
+   gid_t gid;
+   char *group_name;
+ } group_entry;
+ 
+ static pw_entry    *pw_array = NULL;
+ static group_entry *group_array = NULL;
+ 
+ static void fill_pw_array (void);
+ static void fill_group_array (void);
+ 
+ static void
+ fill_pw_array (void)
+ {
+   int fd;
+   int ok;
+   static char *pw_buf;
+   struct stat statbuf;
+   char *cp;
+   int n_entries;
+   int n_read;
+   int entry;
+ 
+   fd = open (FPASSWD, O_RDONLY);
+   if (fd < 0) {
+     fprintf (stderr, "Error opening password file.\n");
+     return;
+   }
+ 
+   ok = fstat (fd, &statbuf);
+   if (ok != 0) {
+     fprintf (stderr, "Error stat-ing passwd file.\n");
+     close (fd);
+     return;
+   }
+ 
+   pw_buf = malloc (statbuf.st_size + 1);
+   if (pw_buf == NULL) {
+     fprintf (stderr, "Error allocating memory.\n");
+     close (fd);
+     return;
+   }
+ 
+   n_read = read (fd, pw_buf, (size_t) statbuf.st_size);
+   if (n_read !=  statbuf.st_size) {
+     perror (NULL);
+     fprintf (stderr, "Error reading password file.\n");
+     free (pw_buf);
+     close (fd);
+     return;
+   }
+   pw_buf [statbuf.st_size] = '\0';
+   close (fd);
+ 
+   n_entries = 0;
+   for (cp = pw_buf; *cp != '\0'; cp++) {
+     if (*cp == '\n')
+       n_entries++;
+   }
+ 
+   pw_array = (pw_entry *) malloc ((n_entries + 1) * sizeof (pw_entry));
+   if (pw_array == NULL) {
+     fprintf (stderr, "Error allocating memory.\n");
+     free (pw_buf);
+     return;
+   }
+ 
+   pw_array [n_entries].uid = -1;
+   cp = pw_buf;
+   for (entry = 0; entry < n_entries; entry++) {
+     pw_array [entry].user_name = cp;
+     while (*cp != ':')
+       cp++;
+     *cp++ = '\0';
+     while (*cp != ':')
+       cp++;
+     cp++;
+     pw_array [entry].uid = atoi (cp);
+     while (*cp != '\n')
+       cp++;
+     cp++;
+   }
+ }
+ 
+ 
+ static void
+ fill_group_array (void)
+ {
+   int fd;
+   int ok;
+   static char *group_buf;
+   struct stat statbuf;
+   char *cp;
+   int n_entries;
+   int n_read;
+   int entry;
+ 
+   fd = open (FGROUP, O_RDONLY);
+   if (fd < 0) {
+     fprintf (stderr, "Error opening group file.\n");
+     return;
+   }
+ 
+   ok = fstat (fd, &statbuf);
+   if (ok != 0) {
+     fprintf (stderr, "Error stat-ing group file.\n");
+     close (fd);
+     return;
+   }
+ 
+   group_buf = malloc (statbuf.st_size + 1);
+   if (group_buf == NULL) {
+     fprintf (stderr, "Error allocating memory.\n");
+     close (fd);
+     return;
+   }
+ 
+   n_read = read (fd, group_buf, (size_t) statbuf.st_size);
+   if (n_read !=  statbuf.st_size) {
+     perror (NULL);
+     fprintf (stderr, "Error reading group file.\n");
+     free (group_buf);
+     close (fd);
+     return;
+   }
+   group_buf [statbuf.st_size] = '\0';
+   close (fd);
+ 
+   n_entries = 0;
+   for (cp = group_buf; *cp != '\0'; cp++) {
+     if (*cp == '\n')
+       n_entries++;
+   }
+ 
+   group_array =
+     (group_entry *) malloc ((n_entries + 1) * sizeof (group_entry));
+   if (group_array == NULL) {
+     fprintf (stderr, "Error allocating memory.\n");
+     free (group_buf);
+     return;
+   }
+ 
+   group_array [n_entries].gid = -1;
+   cp = group_buf;
+   for (entry = 0; entry < n_entries; entry++) {
+     group_array [entry].group_name = cp;
+     while (*cp != ':')
+       cp++;
+     *cp++ = '\0';
+     while (*cp != ':')
+       cp++;
+     cp++;
+     group_array [entry].gid = atoi (cp);
+     while (*cp != '\n')
+       cp++;
+     cp++;
+   }
+ }
+ 
+ char *
+ getuser(uid_t uid)
+ {
+   pw_entry *p_pw;
+   static char uid_str [11];
+ 
+   if (pw_array == NULL)
+     fill_pw_array ();
+   if (pw_array == NULL) {
+     sprintf (uid_str, "%lu", uid);
+     return uid_str;
+   }
+ 
+   for (p_pw = pw_array; p_pw->uid != -1; p_pw++) {
+     if (p_pw->uid == uid)
+       return p_pw->user_name;
+   }
+   sprintf (uid_str, "%lu", uid);
+   return uid_str;
+ }
+  
+ char *
+ getgroup(gid_t gid)
+ {
+   group_entry *p_group;
+   static char gid_str [11];
+ 
+   if (group_array == NULL)
+     fill_group_array ();
+   if (group_array == NULL) {
+     sprintf (gid_str, "%lu", gid);
+     return gid_str;
+   }
+ 
+   for (p_group = group_array; p_group->gid != -1; p_group++) {
+     if (p_group->gid == gid)
+       return p_group->group_name;
+   }
+   sprintf (gid_str, "%lu", gid);
+   return gid_str;
+ }



--------------DB40D1203FDB178B2597E358--


From owner-wu-ftpd@wugate.wustl.edu  Fri Mar  6 15:20:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA11281;
	Fri, 6 Mar 1998 15:20:06 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA07395;
	Fri, 6 Mar 1998 15:14:31 -0600 (CST)
Received: from hahp9k.harte-lyne.ca (hahp9k.harte-lyne.ca [209.47.131.101])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA03877
	for <WU-FTPD@WUGATE.WUSTL.EDU>; Fri, 6 Mar 1998 15:12:00 -0600 (CST)
Received: from hal_ham_g01_u01 ([209.47.131.111])
	by hahp9k.harte-lyne.ca (8.8.7/8.8.7) with SMTP id QAA10600
	for <WU-FTPD@WUGATE.WUSTL.EDU>; Fri, 6 Mar 1998 16:19:03 -0500 (EST)
Message-Id: <199803062119.QAA10600@hahp9k.harte-lyne.ca>
Date: Fri, 6 Mar 1998 16:10:41 -5
Reply-To: byrnejb@harte-lyne.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "James B. Byrne" <byrnejb@harte-lyne.ca>
To: WU-FTPD@wugate.wustl.edu
Subject: list activity
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v2.54)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Is this list still active?  I have not been receiving traffic 
for quite some time now but when I attempted to re-subscribe I 
was told that I was still on the subscription list.  

Please reply directly to me since I am not receiving any list 
traffic if it is still going.

Regards,
Jim
---
James B. Byrne                Harte & Lyne Limited
vox: +1 905 561 1241          9 Brockley Drive
fax: +1 905 561 0757          Hamilton, Ontario
mailto:byrnejb@harte-lyne.ca  Canada L8E 3C3

From owner-wu-ftpd@wugate.wustl.edu  Sun Mar  8 21:41:32 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id VAA20699;
	Sun, 8 Mar 1998 21:41:27 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA28679;
	Sun, 8 Mar 1998 21:37:54 -0600 (CST)
Received: from athena.digimark.net (ns1.digimark.net [208.202.26.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA29561
	for <wu-ftpd@wugate.wustl.edu>; Sun, 8 Mar 1998 21:30:06 -0600 (CST)
Received: from athena.digimark.net (athena.digimark.net [208.202.26.20]) by athena.digimark.net (8.8.8/8.7.3) with SMTP id WAA21978; Sun, 8 Mar 1998 22:29:37 -0500 (EST)
Message-Id: <Pine.GSO.3.95.980308221058.21468A-100000@athena.digimark.net>
Date: Sun, 8 Mar 1998 22:29:37 -0500 (EST)
Reply-To: og@digimark.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gary Goldberg <og@digimark.net>
To: wu-ftpd@wugate.wustl.edu
Cc: solaris-x86@webpro.eis.com
Subject: Solaris 2.6, wu-ftpd and 421 Servica ... error
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Once again I turn to my good friends the S-x86 and wu-ftpd lists.

PROBLEM: 421 Service not available error (but ftpd patched!)

Upgrading from Solaris 2.51 to Solaris 2.6 on the x86 platform. I was using
wu-ftpd beta-12 at first but have upgraded that to beta-16 as part of the 
attempt to fix this problem. I host about 30 virtual ftp sites and while 
some of them work fine, others return these errors when trying to connect:

(Note attempt to connect to real user first, then anonymous)

athena% ftp maclink.com
Connected to maclink.com.
220 maclink.com FTP server (Version wu-2.4.2-academ[BETA-16](2) Sun Mar 8 17:31:
42 EST 1998) ready.
Name (maclink.com:og):
421 Service not available, remote server has closed connection
Login failed.
ftp> user ftp
Not connected.
ftp> open ftp.maclink.com
Connected to maclink.com.
220 maclink.com FTP server (Version wu-2.4.2-academ[BETA-16](2) Sun Mar 8 17:31:
42 EST 1998) ready.
Name (ftp.maclink.com:og): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
530 Can't set guest privileges.
Login failed.
ftp>

while others on the same server work fine. I've patched beta-16 with the
proper patches from the Dec98 Landfield wu-ftpd archive, and I've tried
setting inetd.conf/ftpd with one option, several and no options, with no
effect. I get this in the syslog:

Mar  8 22:16:51 piano ftpd[14618]: VirtualFTP Connect to: 208.202.26.85
Mar  8 22:17:21 piano ftpd[14662]: VirtualFTP Connect to: 208.202.26.127
Mar  8 22:17:23 piano ftpd[14662]: exiting on signal 11
Mar  8 22:17:38 piano ftpd[14686]: VirtualFTP Connect to: 208.202.26.127
Mar  8 22:19:23 piano ftpd[14878]: VirtualFTP Connect to: 208.202.26.106
Mar  8 22:19:27 piano ftpd[14878]: exiting on signal 11

Sone work, others don't. I've double-checked all aspects of my installation,
made sure all device files installed are proper and up-to-date. No ftpshut
file, permissions set correctly, ftp account defined as usual. I'm using
tcpwrappers, but there are no conflicting hosts.[allow|deny] entries. Here
is my inetd.conf entry:

ftp stream tcp nowait root /opt/security/bin/tcpd /opt/wuftpd/bin/in.ftpd -aio

I've turned off interface groups in S72inetsvc with

# Turn off interface groups "feature" of ifconfig
/usr/sbin/ndd -set /dev/ip ip_enable_group_ifs 0

and I know about the last ifconfig'ed interface being the one to use. I've
also installed the most recent Recommended patch set from Sun and scoured
DejaNews and the Landfield wu-ftpd archive for advice, as well as all the
FAQs I could lay my hands on.

This problem is definitely a business buster, so I'd appreciate any clues at
all. Thanks in advance. -Gary

- Do not taunt Happy Fun Ball.
Gary Goldberg KA3ZYW email: og@digimark.net  (301) 249-6501
Digital Marketing, Inc., Bowie, MD. http://www.digimark.net/


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 01:03:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id BAA21846;
	Mon, 9 Mar 1998 01:03:22 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA08346;
	Mon, 9 Mar 1998 01:01:00 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA13990
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 00:59:47 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA06354; Mon, 9 Mar 98 08:01:34 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    9 Mar 98 08:06:20 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 9 Mar 98 08:06:00 +0100
Message-Id: <57FE236CB3@lu-dal2.dal.lu.se>
Date: Mon, 9 Mar 1998 08:05:56 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: og@digimark.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Solaris 2.6, wu-ftpd and 421 Servica ... error
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Good morning Gary,

A shot in the (almost, since you have applied the patches) dark:

Try with space separated parameters in inetd.conf, like:

ftp stream tcp nowait root /opt/security/bin/tcpd 
/opt/wuftpd/bin/in.ftpd -a -i -o

Hopefully ...

Stig

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 02:40:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id CAA29583;
	Mon, 9 Mar 1998 02:40:03 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA17891;
	Mon, 9 Mar 1998 02:36:47 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id CAA18246
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 02:34:34 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id AAA02917
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 00:34:30 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA152774308; Mon, 9 Mar 1998 14:05:08 +0500
Message-Id: <199803090834.AAA02917@palrel3.hp.com>
Date: Mon, 9 Mar 1998 14:05:07 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem with "-L" command line option 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> 
> Hello,
> 
> 	I think  there is a  problem  with the "-L"  option  used in the
> 	command line options of ftpd.
> 
> 	I have  started my ftpd daemon with the "-L" option.  I have not
> 	included "log commands" directive in my ftpaccess file.  Now man
> 	page for ftpd says as follow :
> 
> 	If the -L option  is  specified,  commands  sent to the  ftpd(8)
> 	     server  will be  logged to the  syslog.  The -L  option  is
> 	     over-ridden  by the  ftpaccess(5)  file.  If the -L flag is
> 	     used, command  logging will be on by default as soon as the
> 	     ftp  server is  invoked.  This will cause the server to log
> 	     all USER commands,  which if a user  accidentally  enters a
> 	     password for that  command  instead of the  username,  will
> 	     cause passwords to be logged via syslog.
> 
> 	So according to man page it should log all USER commands.  But I
> 	noticed that until you include "log  commands"  directive in the
> 	ftpaccess file it won't log the information.
> 
> 	In the file access.c the function acl_setfunctions() initializes
> 	log_commands  variable  to zero.  I think this is the cause that
> 	suppresses the effect of "-L" command line option.
> 
> 	It can happen  that I have  interpreted  the thing  incorrectly.
> 	Can any one throw light on this matter.
> 
> 	Thanks in advance.
> 
> Regards,
> Harshal

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 05:19:42 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA03793;
	Mon, 9 Mar 1998 05:19:41 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA23820;
	Mon, 9 Mar 1998 05:17:33 -0600 (CST)
Received: from athena.digimark.net (ns1.digimark.net [208.202.26.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA27697
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 05:11:40 -0600 (CST)
Received: from athena.digimark.net (athena.digimark.net [208.202.26.20]) by athena.digimark.net (8.8.8/8.7.3) with SMTP id GAA27982; Mon, 9 Mar 1998 06:11:12 -0500 (EST)
Message-Id: <Pine.GSO.3.95.980309060836.27886D-100000@athena.digimark.net>
Date: Mon, 9 Mar 1998 06:11:12 -0500 (EST)
Reply-To: og@digimark.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gary Goldberg <og@digimark.net>
To: wu-ftpd@wugate.wustl.edu
Cc: solaris-x86@webpro.eis.com
Subject: More diagnostics on 421 Service no available error (ftpd patched)
In-Reply-To: <199803090602.AAA27859@wugate.wustl.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Followup to earlier message -- even though I've patched the ftpd.c with
the patch from the Dec98 Landfield archive entry, I also tried setting no
options in inetd.conf. one option, and several -- that is, 

   in.ftpd
   in.ftpd -aio
   in.ftpd -a -i -o
   in.ftpd -a -i -o -l

-Gary

- Do not taunt Happy Fun Ball.
Gary Goldberg KA3ZYW email: og@digimark.net  (301) 249-6501
Digital Marketing, Inc., Bowie, MD. http://www.digimark.net/


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 05:32:05 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA03864;
	Mon, 9 Mar 1998 05:32:04 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA29761;
	Mon, 9 Mar 1998 05:30:04 -0600 (CST)
Received: from athena.digimark.net (ns1.digimark.net [208.202.26.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA17748
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 05:25:00 -0600 (CST)
Received: from athena.digimark.net (athena.digimark.net [208.202.26.20]) by athena.digimark.net (8.8.8/8.7.3) with SMTP id GAA28020; Mon, 9 Mar 1998 06:24:32 -0500 (EST)
Message-Id: <Pine.GSO.3.95.980309061804.27886E-100000@athena.digimark.net>
Date: Mon, 9 Mar 1998 06:24:32 -0500 (EST)
Reply-To: og@digimark.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gary Goldberg <og@digimark.net>
To: Sopeters <Sopeters@aol.com>
Cc: wu-ftpd@wugate.wustl.edu, solaris-x86@webpro.eis.com
Subject: Re: S-x86; Solaris 2.6, wu-ftpd and 421 Servica ... error
In-Reply-To: <1d419cbf.3503919b@aol.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU

(Most of problem was byte-size of /etc/shells file being an even multiple
of 8 bytes. Is this a known problem on the list?)

To: Sven
That was most of the problem. My original /etc/shells file had an extra
unneeded entry so I removed it when I was cleaning up, leaving the file
at 136 bytes. I added it back, and 90% of the problem fixed itself.

I'm still getting the "Can't set guest privileges" error though. Must be
two problems I've had. Any thoughts?

Name (ftp.maclink.com:og): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
530 Can't set guest privileges.
Login failed.
ftp>

THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU

-Gary

- Do not taunt Happy Fun Ball.
Gary Goldberg KA3ZYW email: og@digimark.net  (301) 249-6501
Digital Marketing, Inc., Bowie, MD. http://www.digimark.net/

On Mon, 9 Mar 1998, Sopeters wrote:

> I've had the same before: Check if your /etc/shells doesn't have multiple than
> 8 Byte size (8,16,24,32,40,48,56,64,....Byte). If so, change it (add a space),
> so it has other size. It worked on my machine.....
> 
> Let me know if this causes the error :))
> 
> -- Sven
> 


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 09:56:27 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA06235;
	Mon, 9 Mar 1998 09:56:26 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA17248;
	Mon, 9 Mar 1998 09:50:11 -0600 (CST)
Received: from rehost.com (root@hawk.rehost.com [199.97.122.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA10318
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 09:32:27 -0600 (CST)
Received: from hawk.rehost.com (bret@hawk.rehost.com [199.97.122.2])
	by rehost.com (8.8.8/8.8.8) with SMTP id JAA12449;
	Mon, 9 Mar 1998 09:52:15 -0500
Message-Id: <199803091452.JAA12449@rehost.com>
Date: Mon, 9 Mar 1998 09:52:15 -0500
Reply-To: bret@rehost.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bret McDanel <bret@rehost.com>
To: og@digimark.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: S-x86; Solaris 2.6, wu-ftpd and 421 Servica ... error
In-Reply-To: <Pine.GSO.3.95.980309061804.27886E-100000@athena.digimark.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: XCmail 0.11.7 - with PGP support, PGP engine version 0.4
X-Mailerorigin: http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id JAA13336
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Just a guess, but does the guest user have read and execute perms to the
home dir?  and/or does the homedir exist?  I have only seen that error
before when that was the case..

---Reply on mail from Gary Goldberg about S-x86; Solaris 2.6, wu-ftpd and 421 Servica ... error
> Name (ftp.maclink.com:og): ftp
> 331 Guest login ok, send your complete e-mail address as password.
> Password:
> 530 Can't set guest privileges.
> Login failed.
> ftp>
> 

---End reply
-- 
Bret McDanel                                    http://www.rehost.com
Realistic Technologies, Inc.                             973-514-1144

     These opinions are mine, and may not be the same as my employer



From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 11:02:33 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA06949;
	Mon, 9 Mar 1998 11:02:32 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA16749;
	Mon, 9 Mar 1998 10:56:23 -0600 (CST)
Received: from mailserver.cnf.com ([205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA18737
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 10:49:44 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id IAA15991
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 08:49:30 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <GJLTBADH>; Mon, 9 Mar 1998 08:49:25 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFAD6@cnfvs008.cnf.com>
Date: Mon, 9 Mar 1998 08:49:24 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: umask ... default permissiosn!
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

SOS!
can someone PLEASE tell me how to change the
default permissiosn to 640 for any file put
down


thanks
Guy

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 12:03:56 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id MAA07611;
	Mon, 9 Mar 1998 12:03:55 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA29521;
	Mon, 9 Mar 1998 11:58:14 -0600 (CST)
Received: from athena.digimark.net (ns1.digimark.net [208.202.26.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA28958
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 11:47:52 -0600 (CST)
Received: from athena.digimark.net (athena.digimark.net [208.202.26.20]) by athena.digimark.net (8.8.8/8.7.3) with SMTP id MAA05884; Mon, 9 Mar 1998 12:47:10 -0500 (EST)
Message-Id: <Pine.GSO.3.95.980309124650.5609B-100000@athena.digimark.net>
Date: Mon, 9 Mar 1998 12:47:10 -0500 (EST)
Reply-To: og@digimark.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gary Goldberg <og@digimark.net>
To: Bret McDanel <bret@rehost.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: S-x86; Solaris 2.6, wu-ftpd and 421 Servica ... error
In-Reply-To: <199803091452.JAA12449@rehost.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

That was it! -- but not the files, I had some of the virtuals misdefined in
the ftpaccess file. Geez what a tyro mistake. Thanks very much. -Gary

- Do not taunt Happy Fun Ball.
Gary Goldberg KA3ZYW email: og@digimark.net  (301) 249-6501
Digital Marketing, Inc., Bowie, MD. http://www.digimark.net/

On Mon, 9 Mar 1998, Bret McDanel wrote:

> Just a guess, but does the guest user have read and execute perms to the
> home dir?  and/or does the homedir exist?  I have only seen that error
> before when that was the case..
> 
> ---Reply on mail from Gary Goldberg about S-x86; Solaris 2.6, wu-ftpd and 421 Servica ... error
> > Name (ftp.maclink.com:og): ftp
> > 331 Guest login ok, send your complete e-mail address as password.
> > Password:
> > 530 Can't set guest privileges.
> > Login failed.
> > ftp>
> >
> 
> ---End reply
> --
> Bret McDanel                                    http://www.rehost.com
> Realistic Technologies, Inc.                             973-514-1144
> 
>      These opinions are mine, and may not be the same as my employer
> 
> 


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 15:07:03 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA10047;
	Mon, 9 Mar 1998 15:07:02 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA20385;
	Mon, 9 Mar 1998 15:02:55 -0600 (CST)
Received: from server.super.net.pk (server.super.net.pk [203.130.2.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA31254
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 14:59:21 -0600 (CST)
Received: (from naved@localhost)
	by server.super.net.pk (8.8.7/8.8.7) id CAA24416;
	Tue, 10 Mar 1998 02:02:50 +0500 (GMT+0500)
Message-Id: <Pine.OSF.3.91.980310020139.30730A-100000@server.super.net.pk>
Date: Tue, 10 Mar 1998 02:02:50 +0500 (GMT+0500)
Reply-To: naved@super.net.pk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: naved <naved@super.net.pk>
To: wu-ftpd@wugate.wustl.edu
Subject: unsubscripe
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN




From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 15:46:00 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA10512;
	Mon, 9 Mar 1998 15:45:58 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA24930;
	Mon, 9 Mar 1998 15:34:03 -0600 (CST)
Received: from stcgate.statcan.ca (stcgate.statcan.ca [142.206.192.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA18950
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 15:26:13 -0600 (CST)
Received: (from root@localhost) by stcgate.statcan.ca (8.6.11/8.6.9) id QAA15871 for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 16:29:54 -0500
Received: from stcinet.statcan.ca(142.206.128.146) by stcgate via smap (V1.3)
	id sma015788; Mon Mar  9 21:29:41 1998
Received: from statcan.ca by statcan.ca (SMI-8.6/SMI-SVR4)
	id QAA20861; Mon, 9 Mar 1998 16:28:11 -0500
Received: from bora2.statcan.ca (bora2.statcan.ca [142.206.248.251])
	by smtpshb.statcan.ca (8.8.5/8.8.5) with SMTP id RAA25202;
	Mon, 9 Mar 1998 17:25:05 -0500
Received: from smtpsha.statcan.ca by bora2.statcan.ca (SMI-8.6/SMI-SVR4)
	id PAA11682; Mon, 9 Mar 1998 15:39:51 -0500
Received: from imap1a.statcan.ca by smtpsha.statcan.ca (SMI-8.6/SMI-SVR4)
	id PAA26071; Mon, 9 Mar 1998 15:08:12 -0500
Received: from statcan.ca (142.205.132.156) by imap1a.statcan.ca (NPlex 2.0.066); 9 Mar 1998 15:13:45 -0500
Message-Id: <35044DD0.1A676963@statcan.ca>
Date: Mon, 09 Mar 1998 15:15:12 -0500
Reply-To: nourmha@statcan.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "M. Nour" <nourmha@statcan.ca>
To: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>, nourmha@statcan.ca
Subject: Install procedure
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.03 [en] (WinNT; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

As my OS (IRIX 6.3 on SILICON Graphics)  is not listed,
I want to execute the steep 1.b of the INSTALL procedure;
which is just copying three files.
What is the xxx for?

Thanks.


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 21:56:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id VAA15850;
	Mon, 9 Mar 1998 21:56:37 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA24900;
	Mon, 9 Mar 1998 21:54:01 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA23512
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 21:47:15 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id TAA12559;
	Mon, 9 Mar 1998 19:47:09 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA160573463; Tue, 10 Mar 1998 09:17:43 +0500
Message-Id: <199803100347.TAA12559@palrel1.hp.com>
Date: Tue, 10 Mar 1998 09:17:43 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: Speier.Guy@cnf.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: umask ... default permissiosn!
In-Reply-To: <6985723206B8D011BA180000F8043BDC03FBFAD6@cnfvs008.cnf.com> from "Speier, Guy J - CNF" at Mar "9," 1998 "08:49:24" am
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

	You can use -u command line option for this page. For more 
	information see ftpd man page. Hope this will help you!

Regards,
Harshal

> SOS!
> can someone PLEASE tell me how to change the
> default permissiosn to 640 for any file put
> down
> 
> 
> thanks
> Guy
> 


-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
30C, Cunningham Road				Fax   : (91)(80)2200196
Bangalore 560 052				Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar  9 22:05:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id WAA15980;
	Mon, 9 Mar 1998 22:05:40 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA25464;
	Mon, 9 Mar 1998 22:03:26 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA21497
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 21:50:50 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id TAA13419
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Mar 1998 19:50:46 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA160683686; Tue, 10 Mar 1998 09:21:26 +0500
Message-Id: <199803100350.TAA13419@palrel1.hp.com>
Date: Tue, 10 Mar 1998 09:21:26 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: umask ... default permissiosn! (fwd)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


	Sorry for the typo in my last mail. Please read it as below.

> Hello,
> 
> 	You can use -u command line option for this page. For more 
						    ~~~~
						    purpose.

> 	information see ftpd man page. Hope this will help you!
> 
> Regards,
> Harshal
> 
> > SOS!
> > can someone PLEASE tell me how to change the
> > default permissiosn to 640 for any file put
> > down
> > 
> > 
> > thanks
> > Guy
> > 
> 
> 

-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
30C, Cunningham Road				Fax   : (91)(80)2200196
Bangalore 560 052				Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 07:59:03 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id HAA02092;
	Tue, 10 Mar 1998 07:59:02 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA25671;
	Tue, 10 Mar 1998 07:50:05 -0600 (CST)
Received: from dragon.photronics.com (dragon.photronics.com [207.77.140.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA03770
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 07:44:34 -0600 (CST)
Received: by dragon.photronics.com; (5.65v3.2/1.3/10May95) id AA29207; Tue, 10 Mar 1998 05:44:33 -0800
Received: from m4300.photronics.com by nimitz.photronics.com (SMI-8.6/SMI-SVR4)
	id FAA28398; Tue, 10 Mar 1998 05:46:15 -0800
Received: from st-peter.dallas.photronics.com by m4300.photronics.com with SMTP;
          Tue, 10 Mar 1998 5:41:02 -0800 (PST)
Received: from pmvax5.dallas.photronics.com by st-peter.dallas.photronics.com with SMTP;
          Tue, 10 Mar 1998 7:40:20 -0600 (CST)
Received: from dallas.photronics.com ([172.16.32.16]) by pmvax5.dallas.photronics.com with SMTP;
          Tue, 10 Mar 1998 7:40:26 -0600 (CST)
Message-Id: <35054240.E3661694@dallas.photronics.com>
Date: Tue, 10 Mar 1998 07:38:09 -0600
Reply-To: kpatton@dallas.photronics.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Keith Patton <kpatton@dallas.photronics.com>
To: Graham Potts <graham@pncl.co.uk>
Cc: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Static Link - ls on solaris
References: <350466B9.E7418CD6@pncl.co.uk>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------CBB547FB5DAABB23C119E04B"
X-Sender: kpatton@mailhost.photronics.com
X-Mailer: Mozilla 4.04 [en] (X11; U; SunOS 5.5.1 sun4u)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.
--------------CBB547FB5DAABB23C119E04B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Graham Potts wrote:

> Hi,
> I noticed a post from yourself in the wu-ftpd mailing list regarding a
> statically linked ls
> for Solaris. I don't suppose you could tell me how you did that? I've
> been trying to link ls from the gnu file utils kit with no great success
> so far. Any help would be much appreciated.
>
> Thanks,
> Graham Potts


For the record:


   How to ceate a static image of ls..

.
First get the fileutilies from gnu:

    ( from the faq's )

    9.Programs (ls, gzip, tar) work for real users, not for anonymous
users, giving errors like 425
      Can't create data socket (0.0.0.0,20): Bad file number or simply no
output.

      First, consider if you can't relink them staticly so the shared
libraries aren't needed. You
      can get the GNU fileutils from :
<URL:ftp://prep.ai.mit.edu/pub/gnu/fileutils-3.16.tar.gz>
      (version numbers may vary).

Then apply this patch:

    I did not have any luck since the version are different, but one can
read it and make the
changes manually in just a few minutes...



--------------CBB547FB5DAABB23C119E04B
Content-Type: text/plain; charset=us-ascii; name="fileutils-3.13_static-ls.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="fileutils-3.13_static-ls.patch"

*** fileutils-3.13/src/Makefile Fri Dec 13 17:24:37 1996
--- old/fileutils-3.13/src/Makefile     Fri Dec 13 16:18:22 1996
***************
*** 68,74 ****
  cp_SOURCES = cp.c cp-aux.c cp-hash.c
  dir_SOURCES = ls.c ls-dir.c
  vdir_SOURCES = ls.c ls-vdir.c
! ls_SOURCES = ls.c ls-ls.c
  
  BUILT_SOURCES = #M#dircolors.h
  PERL = /home/sdu/cel95eig/bin/mine/perl
--- 68,75 ----
  cp_SOURCES = cp.c cp-aux.c cp-hash.c
  dir_SOURCES = ls.c ls-dir.c
  vdir_SOURCES = ls.c ls-vdir.c
! static-ls_SOURCES = static-ls.c
! ls_SOURCES = ls.c ls-ls.c $(static-ls_SOURCES)
  
  BUILT_SOURCES = #M#dircolors.h
  PERL = /home/sdu/cel95eig/bin/mine/perl
***************
*** 87,94 ****
  LEX = @LEX@
  YACC = byacc
  CPPFLAGS = 
! CFLAGS = -g -O
! LDFLAGS = 
  LIBS = -lintl -lgen 
  
  COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
--- 88,95 ----
  LEX = @LEX@
  YACC = byacc
  CPPFLAGS = 
! CFLAGS = -static -g -O
! LDFLAGS = -static
  LIBS = -lintl -lgen 
  
  COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
***************
*** 136,142 ****
  vdir_OBJECTS = ls$o ls-vdir$o
  EXTRA_vdir_SOURCES =
  vdir_LDADD = $(LDADD)
! ls_OBJECTS = ls$o ls-ls$o
  EXTRA_ls_SOURCES =
  ls_LDADD = $(LDADD)
  mkdir_SOURCES = mkdir.c
--- 137,144 ----
  vdir_OBJECTS = ls$o ls-vdir$o
  EXTRA_vdir_SOURCES =
  vdir_LDADD = $(LDADD)
! static-ls_OBJECTS = static-ls$o
! ls_OBJECTS = ls$o ls-ls$o $(static-ls_OBJECTS)
  EXTRA_ls_SOURCES =
  ls_LDADD = $(LDADD)
  mkdir_SOURCES = mkdir.c
*** fileutils-3.13/src/static-ls.c      Fri Dec 13 16:13:44 1996
--- fileutils-3.13/src/static-ls.c      Fri Dec 11 15:29:46 1996
***************
*** 0 ****
--- 1,230 ----
+ /* static-ls.c rec.1, by Emil Isberg <eig@mds.mdh.se> */
+ /* static-ls.c rev.2, by Brett Porter <porter@carbon.chem.nyu.edu>*/
+ /* static-ls.c rev.2.1, by Emil Isberg <eig@mds.mdh.se> */
+ /*  for gnufileutils ..  under Solaris 2.5 */
+ /* To compile .. get the lates version of gnufileutil .. */
+ /*  add this file */
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <limits.h>
+ #include <sys/types.h>
+ #include <sys/uio.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ 
+ #define FPASSWD "/etc/passwd"
+ #define FGROUP  "/etc/group"
+ 
+ char *dlopen()  { return 0;}
+ int   dlclose() { return 0;}
+ char *dlsym()   { return 0;}
+ char *dlerror() { return "dynamic linking not loaded";}
+ 
+ typedef struct {
+   uid_t uid;
+   char *user_name;
+ } pw_entry;
+ 
+ typedef struct {
+   gid_t gid;
+   char *group_name;
+ } group_entry;
+ 
+ static pw_entry    *pw_array = NULL;
+ static group_entry *group_array = NULL;
+ 
+ static void fill_pw_array (void);
+ static void fill_group_array (void);
+ 
+ static void
+ fill_pw_array (void)
+ {
+   int fd;
+   int ok;
+   static char *pw_buf;
+   struct stat statbuf;
+   char *cp;
+   int n_entries;
+   int n_read;
+   int entry;
+ 
+   fd = open (FPASSWD, O_RDONLY);
+   if (fd < 0) {
+     fprintf (stderr, "Error opening password file.\n");
+     return;
+   }
+ 
+   ok = fstat (fd, &statbuf);
+   if (ok != 0) {
+     fprintf (stderr, "Error stat-ing passwd file.\n");
+     close (fd);
+     return;
+   }
+ 
+   pw_buf = malloc (statbuf.st_size + 1);
+   if (pw_buf == NULL) {
+     fprintf (stderr, "Error allocating memory.\n");
+     close (fd);
+     return;
+   }
+ 
+   n_read = read (fd, pw_buf, (size_t) statbuf.st_size);
+   if (n_read !=  statbuf.st_size) {
+     perror (NULL);
+     fprintf (stderr, "Error reading password file.\n");
+     free (pw_buf);
+     close (fd);
+     return;
+   }
+   pw_buf [statbuf.st_size] = '\0';
+   close (fd);
+ 
+   n_entries = 0;
+   for (cp = pw_buf; *cp != '\0'; cp++) {
+     if (*cp == '\n')
+       n_entries++;
+   }
+ 
+   pw_array = (pw_entry *) malloc ((n_entries + 1) * sizeof (pw_entry));
+   if (pw_array == NULL) {
+     fprintf (stderr, "Error allocating memory.\n");
+     free (pw_buf);
+     return;
+   }
+ 
+   pw_array [n_entries].uid = -1;
+   cp = pw_buf;
+   for (entry = 0; entry < n_entries; entry++) {
+     pw_array [entry].user_name = cp;
+     while (*cp != ':')
+       cp++;
+     *cp++ = '\0';
+     while (*cp != ':')
+       cp++;
+     cp++;
+     pw_array [entry].uid = atoi (cp);
+     while (*cp != '\n')
+       cp++;
+     cp++;
+   }
+ }
+ 
+ 
+ static void
+ fill_group_array (void)
+ {
+   int fd;
+   int ok;
+   static char *group_buf;
+   struct stat statbuf;
+   char *cp;
+   int n_entries;
+   int n_read;
+   int entry;
+ 
+   fd = open (FGROUP, O_RDONLY);
+   if (fd < 0) {
+     fprintf (stderr, "Error opening group file.\n");
+     return;
+   }
+ 
+   ok = fstat (fd, &statbuf);
+   if (ok != 0) {
+     fprintf (stderr, "Error stat-ing group file.\n");
+     close (fd);
+     return;
+   }
+ 
+   group_buf = malloc (statbuf.st_size + 1);
+   if (group_buf == NULL) {
+     fprintf (stderr, "Error allocating memory.\n");
+     close (fd);
+     return;
+   }
+ 
+   n_read = read (fd, group_buf, (size_t) statbuf.st_size);
+   if (n_read !=  statbuf.st_size) {
+     perror (NULL);
+     fprintf (stderr, "Error reading group file.\n");
+     free (group_buf);
+     close (fd);
+     return;
+   }
+   group_buf [statbuf.st_size] = '\0';
+   close (fd);
+ 
+   n_entries = 0;
+   for (cp = group_buf; *cp != '\0'; cp++) {
+     if (*cp == '\n')
+       n_entries++;
+   }
+ 
+   group_array =
+     (group_entry *) malloc ((n_entries + 1) * sizeof (group_entry));
+   if (group_array == NULL) {
+     fprintf (stderr, "Error allocating memory.\n");
+     free (group_buf);
+     return;
+   }
+ 
+   group_array [n_entries].gid = -1;
+   cp = group_buf;
+   for (entry = 0; entry < n_entries; entry++) {
+     group_array [entry].group_name = cp;
+     while (*cp != ':')
+       cp++;
+     *cp++ = '\0';
+     while (*cp != ':')
+       cp++;
+     cp++;
+     group_array [entry].gid = atoi (cp);
+     while (*cp != '\n')
+       cp++;
+     cp++;
+   }
+ }
+ 
+ char *
+ getuser(uid_t uid)
+ {
+   pw_entry *p_pw;
+   static char uid_str [11];
+ 
+   if (pw_array == NULL)
+     fill_pw_array ();
+   if (pw_array == NULL) {
+     sprintf (uid_str, "%lu", uid);
+     return uid_str;
+   }
+ 
+   for (p_pw = pw_array; p_pw->uid != -1; p_pw++) {
+     if (p_pw->uid == uid)
+       return p_pw->user_name;
+   }
+   sprintf (uid_str, "%lu", uid);
+   return uid_str;
+ }
+  
+ char *
+ getgroup(gid_t gid)
+ {
+   group_entry *p_group;
+   static char gid_str [11];
+ 
+   if (group_array == NULL)
+     fill_group_array ();
+   if (group_array == NULL) {
+     sprintf (gid_str, "%lu", gid);
+     return gid_str;
+   }
+ 
+   for (p_group = group_array; p_group->gid != -1; p_group++) {
+     if (p_group->gid == gid)
+       return p_group->group_name;
+   }
+   sprintf (gid_str, "%lu", gid);
+   return gid_str;
+ }



--------------CBB547FB5DAABB23C119E04B--


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 08:32:54 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA02952;
	Tue, 10 Mar 1998 08:32:36 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA02122;
	Tue, 10 Mar 1998 08:28:05 -0600 (CST)
Received: from epiphore.francenet.fr (root@epiphore.francenet.fr [193.149.97.10])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA30410
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 08:25:03 -0600 (CST)
Received: from epiphore.francenet.fr (perrot@localhost.francenet.fr [127.0.0.1])
	by epiphore.francenet.fr (8.8.8/8.8.5) with ESMTP id PAA05202;
	Tue, 10 Mar 1998 15:25:00 +0100 (CET)
Message-Id: <199803101425.PAA05202@epiphore.francenet.fr>
Date: Tue, 10 Mar 1998 15:24:58 +0100
Reply-To: perrot@francenet.fr
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gildas Perrot <perrot@francenet.fr>
To: wu-ftpd@wugate.wustl.edu
Cc: webadmin@prestel.net, joel@merix.com, mike@isi.net
Subject: REPOST : Blocking call cancelled with 2.4.2b16
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 2.0.2 2/24/98
X-Face: '%)H7X3>"mU[aaPz3aZ`^e{*DV1&W;+P-Wx*Yk)Ah[e(-AO&EB\D.gq2y{kH73Q29}_A4H,eykdf!9dj[m\gwFgZOTt?=7gI+RBN,I({A32-MyZrmtrD%8*L/boGS0,+Lj$H|@
X-Url: http://www.francenet.fr/
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

   I am using wu-ftpd 2.4.2b16 on Solaris 2.5 and I am uploading very often 
files
   on this FTP server. Very often also, transfers are interrupted with messages
   like below :

   sending champselysees.htm as champselysees.htm (8 of 228)
   PORT 193,149,100,125,4,29
   200 PORT command successful.
   STOR champselysees.htm
   ! Receive error: Blocking call cancelled

   PWD
   ! Receive error: Blocking call cancelled

   TYPE A
   ! Receive error: Blocking call cancelled

   PORT 193,149,100,125,4,31
   ! Receive error: Blocking call cancelled

   ! port cmd failed.
   ! DoDirList returned 0

   Any idea with that problem ? Thanks in advance for your help. 

Gildas.


-- 
Gildas PERROT, perrot@francenet.fr         __o
FranceNet, 28 rue Desaix, 75015 Paris ---_ \<,_
http://www.francenet.fr            ---- (_)/ (_)



From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 08:38:31 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA03028;
	Tue, 10 Mar 1998 08:38:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA06257;
	Tue, 10 Mar 1998 08:34:43 -0600 (CST)
Received: from sun50.thp.Uni-Koeln.DE (sun50.thp.Uni-Koeln.DE [134.95.67.51])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA09360
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 08:29:13 -0600 (CST)
Received: (from sinder@localhost)
	by sun50.thp.Uni-Koeln.DE (8.8.7/8.8.7) id PAA06085;
	Tue, 10 Mar 1998 15:29:11 +0100 (MET)
Message-Id: <199803101429.PAA06085@sun50.thp.Uni-Koeln.DE>
Date: Tue, 10 Mar 1998 15:29:11 +0100 (MET)
Reply-To: sinder@thp.Uni-Koeln.DE
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andreas Sindermann <sinder@thp.Uni-Koeln.DE>
To: wu-ftpd@wugate.wustl.edu
Subject: syslog instead of xferlog
Mime-Version: 1.0 (generated by tm-edit 7.92)
Content-Type: text/plain; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

is it possible to send *all* output produced by in.ftpd to syslog
instead xferlog? When starting in.ftpd via inetd.conf with:

in.ftpd -i -o -l

only the following is sent to syslog:

Mar 10 15:12:31 xxx ftpd[5643]: FTP LOGIN FROM yyy [yy.yy.yy.yy], sinder
Mar 10 15:12:43 xxx ftpd[5643]: FTP session closed


The incoming and outgoing traffic is logged to xferlog as usual:

Tue Mar 10 15:12:39 1998 1 yyy 8055 <filename> b _ o r sinder ftp 0 *


It was nice if I could send both messages to syslog (and collect all
these messages on the LOGHOST instead of having xferlog files on all
machines).

This setup is not intended for anonymous ftp of course but as a
replacement for the regular Solaris 2.6 in.ftpd.

Andreas

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 08:49:49 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA03142;
	Tue, 10 Mar 1998 08:49:46 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA11451;
	Tue, 10 Mar 1998 08:47:33 -0600 (CST)
Received: from sod.off.net (pschwan@a22a180.neo.lrun.com [204.210.200.180])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA08083
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 08:47:08 -0600 (CST)
Received: from localhost (pschwan@localhost) by sod.off.net (8.8.5/8.6.9) with SMTP id JAA26416; Tue, 10 Mar 1998 09:46:46 -0500
Message-Id: <Pine.LNX.3.96.980310093705.24332F-100000@sod.off.net>
Date: Tue, 10 Mar 1998 09:46:46 -0500 (EST)
Reply-To: pschwan@apk.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Phil Schwan <pschwan@apk.net>
To: Andreas Sindermann <sinder@thp.Uni-Koeln.DE>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: syslog instead of xferlog
In-Reply-To: <199803101429.PAA06085@sun50.thp.Uni-Koeln.DE>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: pschwan@sod.off.net
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, 10 Mar 1998, Andreas Sindermann wrote:

> is it possible to send *all* output produced by in.ftpd to syslog
> instead xferlog?
> 
> It was nice if I could send both messages to syslog (and collect all
> these messages on the LOGHOST instead of having xferlog files on all
> machines).

I'll give you a "patch" of sorts.  Open up src/ftpd.c and look around line
1,974 (it's exactly 1,974 in beta 15).  It should read:

        write(xferlog, msg, strlen(msg));

change that to (or add an additional line):

        syslog(LOG_INFO, msg);

The output to the log will change somewhat, it'll add a header to it.
This header will make xferstats unhappy, so if you're going to want to do
xferstats processing, I recommend that you continue storing it to two
files.  The output will look like this:

==> /var/adm/messages <==
Mar 10 09:43:15 sod ftpd[26400]: Tue Mar 10 09:43:15 1998 1 localhost
25266 /unixwars.tex b _ o r pschwan ftp 0 *

==> /var/adm/ftpd/xferlog <==
Tue Mar 10 09:43:15 1998 1 localhost 25266 /unixwars.tex b _ o r
pschwan ftp 0 *

You'll note that the syslog() call adds a date and process header.
*shrug*  That's the quickest fix, and if you don't mind, I'd say live with
it :)

Good luck,

Phil

--------------------------------------------------------------------------
'The ultimate seal on any software product is not any sort of kite mark or
standards conformance certificate, it's that label that says, "Destruction
tested by Alan Cox.... Survived."' -- Clive Dolphin (3Com PDD)


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 08:57:56 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA03227;
	Tue, 10 Mar 1998 08:57:55 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA14073;
	Tue, 10 Mar 1998 08:53:51 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA05644
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 08:51:45 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id GAA14190
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 06:51:41 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA168903339; Tue, 10 Mar 1998 20:22:19 +0500
Message-Id: <199803101451.GAA14190@palrel1.hp.com>
Date: Tue, 10 Mar 1998 20:22:18 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Cc: harshalj@india.hp.com (Harshal Savalia)
Subject: Problem with "-L" command line option 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

	I am resending this message as nobody has replied to it.  Again,
	please  can  anybody  go  thro'  this  and can help  me.  Also I
	noticed same thing with "log  transfers"  directive in ftpaccess
	file.  Until you specify this directive in ftpaccess  file there
	is no effect of command line options "-i" and "-o".

	Thanks in advance.

With Regards,
Harshal

> 
> Hello,
> 
> 	I think  there is a  problem  with the "-L"  option  used in the
> 	command line options of ftpd.
> 
> 	I have  started my ftpd daemon with the "-L" option.  I have not
> 	included "log commands" directive in my ftpaccess file.  Now man
> 	page for ftpd says as follow :
> 
> 	If the -L option  is  specified,  commands  sent to the  ftpd(8)
> 	     server  will be  logged to the  syslog.  The -L  option  is
> 	     over-ridden  by the  ftpaccess(5)  file.  If the -L flag is
> 	     used, command  logging will be on by default as soon as the
> 	     ftp  server is  invoked.  This will cause the server to log
> 	     all USER commands,  which if a user  accidentally  enters a
> 	     password for that  command  instead of the  username,  will
> 	     cause passwords to be logged via syslog.
> 
> 	So according to man page it should log all USER commands.  But I
> 	noticed that until you include "log  commands"  directive in the
> 	ftpaccess file it won't log the information.
> 
> 	In the file access.c the function acl_setfunctions() initializes
> 	log_commands  variable  to zero.  I think this is the cause that
> 	suppresses the effect of "-L" command line option.
> 
> 	It can happen  that I have  interpreted  the thing  incorrectly.
> 	Can any one throw light on this matter.
> 
> 	Thanks in advance.
> 
> Regards,
> Harshal
> 

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 11:15:01 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA04704;
	Tue, 10 Mar 1998 11:14:59 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA26989;
	Tue, 10 Mar 1998 11:08:37 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA25178
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 11:04:13 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id JAA00555
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 09:04:11 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <GJLTBG90>; Tue, 10 Mar 1998 09:04:07 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFAE5@cnfvs008.cnf.com>
Date: Tue, 10 Mar 1998 09:03:55 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: wu-ftpd@wugate.wustl.edu
Subject: /bin/false as a shell
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hello all,

I just upgraded to beta 16 (on AIX), but those users who's default shell
is /bin/false may no longer ftp into the site.  They could with an older
version of wu-ftp though!

Is this an 'enhancement', or did I forget something?  Is there a fix?

many thanks (yet again)
Guy

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 11:28:00 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA04869;
	Tue, 10 Mar 1998 11:27:58 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA26357;
	Tue, 10 Mar 1998 11:21:08 -0600 (CST)
Received: from sun50.thp.Uni-Koeln.DE (sun50.thp.Uni-Koeln.DE [134.95.67.51])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA07972
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 11:18:03 -0600 (CST)
Received: (from sinder@localhost)
	by sun50.thp.Uni-Koeln.DE (8.8.7/8.8.7) id SAA18742;
	Tue, 10 Mar 1998 18:17:36 +0100 (MET)
Message-Id: <199803101717.SAA18742@sun50.thp.Uni-Koeln.DE>
Date: Tue, 10 Mar 1998 18:17:36 +0100 (MET)
Reply-To: sinder@thp.Uni-Koeln.DE
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andreas Sindermann <sinder@thp.Uni-Koeln.DE>
To: Speier.Guy@cnf.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: /bin/false as a shell
In-Reply-To: <6985723206B8D011BA180000F8043BDC03FBFAE5@cnfvs008.cnf.com>
References: <6985723206B8D011BA180000F8043BDC03FBFAE5@cnfvs008.cnf.com>
Mime-Version: 1.0 (generated by tm-edit 7.92)
Content-Type: text/plain; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Guy J. Speier writes:
 > hello all,
 > 
 > I just upgraded to beta 16 (on AIX), but those users who's default shell
 > is /bin/false may no longer ftp into the site.  They could with an older
 > version of wu-ftp though!
 > 
 > Is this an 'enhancement', or did I forget something?  Is there a
fix?

Check whether /bin/false is in /etc/shells.

Andreas

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 11:32:14 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA04926;
	Tue, 10 Mar 1998 11:32:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA18814;
	Tue, 10 Mar 1998 11:27:25 -0600 (CST)
Received: from gaia.vr.net (lundberg@gaia.vr.net [205.133.13.5])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA28054
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 11:21:03 -0600 (CST)
Received: from localhost (lundberg@localhost)
	by gaia.vr.net (8.8.5/8.8.5) with SMTP id MAA25544;
	Tue, 10 Mar 1998 12:20:56 -0500
Message-Id: <Pine.LNX.3.95.980310122037.25326A-100000@gaia.vr.net>
Date: Tue, 10 Mar 1998 12:20:56 -0500 (EST)
Reply-To: lundberg@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg@vr.net>
To: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: /bin/false as a shell
In-Reply-To: <6985723206B8D011BA180000F8043BDC03FBFAE5@cnfvs008.cnf.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

You need an /etc/shells listing /bin/false as a valid shell.

On Tue, 10 Mar 1998, Speier, Guy J - CNF wrote:

> Date: Tue, 10 Mar 1998 09:03:55 -0800
> From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
> To: wu-ftpd@wugate.wustl.edu
> Subject: /bin/false as a shell
> 
> hello all,
> 
> I just upgraded to beta 16 (on AIX), but those users who's default shell
> is /bin/false may no longer ftp into the site.  They could with an older
> version of wu-ftp though!
> 
> Is this an 'enhancement', or did I forget something?  Is there a fix?
> 
> many thanks (yet again)
> Guy
> 


----

Gregory A Lundberg		Senior Partner, VRnet Company
1441 Elmdale Drive              email: lundberg@vr.net [205.133.13.8]
Kettering, OH 45409-1615 USA    voice: +1 (937) 299-7653


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 11:32:51 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA04936;
	Tue, 10 Mar 1998 11:32:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA24436;
	Tue, 10 Mar 1998 11:28:22 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA18036
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 11:23:33 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id JAA06154
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 09:23:25 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <GJLTBH1Q>; Tue, 10 Mar 1998 09:23:20 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFAE9@cnfvs008.cnf.com>
Date: Tue, 10 Mar 1998 09:23:17 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>,
        "'Andreas Sindermann'"
	 <sinder@thp.Uni-Koeln.DE>
Cc: wu-ftpd@wugate.wustl.edu
Subject: RE: /bin/false as a shell
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

/bin/false is in /etc/shells

> ----------
> From: 	Andreas Sindermann[SMTP:sinder@thp.Uni-Koeln.DE]
> Sent: 	Tuesday, March 10, 1998 9:17 AM
> To: 	Speier.Guy@cnf.com
> Cc: 	wu-ftpd@wugate.wustl.edu
> Subject: 	Re: /bin/false as a shell
> 
> Guy J. Speier writes:
>  > hello all,
>  > 
>  > I just upgraded to beta 16 (on AIX), but those users who's default
> shell
>  > is /bin/false may no longer ftp into the site.  They could with an
> older
>  > version of wu-ftp though!
>  > 
>  > Is this an 'enhancement', or did I forget something?  Is there a
> fix?
> 
> Check whether /bin/false is in /etc/shells.
> 
> Andreas
> 

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 11:39:57 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA05052;
	Tue, 10 Mar 1998 11:39:55 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA16404;
	Tue, 10 Mar 1998 11:34:01 -0600 (CST)
Received: from Bahamut.dragonfire.net ([206.161.150.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA05619
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 11:32:41 -0600 (CST)
Received: (from achurch@localhost) by Bahamut.dragonfire.net (8.8.5/8.8.8) id MAA13543; Tue, 10 Mar 1998 12:32:20 -0500
Message-Id: <199803101732.MAA13543@Bahamut.dragonfire.net>
Date: Tue, 10 Mar 1998 12:32:17 EST
Reply-To: achurch@dragonfire.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: achurch@dragonfire.net (Andy Church)
To: "Speier,
	Guy J - CNF" <Speier.Guy@cnf.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: /bin/false as a shell
X-Mailer: MMail v4.62
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>I just upgraded to beta 16 (on AIX), but those users who's default shell
>is /bin/false may no longer ftp into the site.  They could with an older
>version of wu-ftp though!

     This may be obvious, but did you check /etc/shells to make sure
/bin/false is (or is still) listed there?

  --Andy Church                  | If Bell Atlantic really is the heart
    achurch@dragonfire.net       | of communication, then it desperately
    www.dragonfire.net/~achurch/ | needs a quadruple bypass.

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 11:55:02 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA05271;
	Tue, 10 Mar 1998 11:55:00 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA27042;
	Tue, 10 Mar 1998 11:47:30 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA25068
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 11:46:24 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id JAA11130
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 09:46:19 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <GJLTBHL1>; Tue, 10 Mar 1998 09:46:14 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFAEC@cnfvs008.cnf.com>
Date: Tue, 10 Mar 1998 09:46:13 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: wu-ftpd@wugate.wustl.edu
Subject: RE: /bin/false as a shell
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

	well ...
	yes, /bin/false is in /etc/shells
	but here is the kicker:
	/usr/bin/false is ALSO in /etc/shells
	and seems to work fine as the default login shell.
	AND YES< they have the same perms!

	NOTE: diff /usr/bin/false /etc/shells
	produces null output

	any further advice?

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 13:20:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id NAA06151;
	Tue, 10 Mar 1998 13:20:37 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA17724;
	Tue, 10 Mar 1998 13:10:26 -0600 (CST)
Received: from nuvol.uji.es (nuvol.uji.es [150.128.16.10])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA18985
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 13:03:49 -0600 (CST)
Received: (from villapla@localhost)
	by nuvol.uji.es (8.8.7/8.8.5) id UAA14288;
	Tue, 10 Mar 1998 20:00:19 +0100 (MET)
Message-Id: <199803101900.UAA14288@nuvol.uji.es>
Date: Tue, 10 Mar 1998 20:00:19 +0100 (MET)
Reply-To: <villapla@si.uji.es>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Juan Jose Villaplana Querol" <villapla@si.uji.es>
To: wu-ftpd@wugate.wustl.edu (wu-ftpd)
Cc: villapla@nuvol.uji.es (Juan Jose Villaplana Querol)
Subject: on the fly compression and archiving on HP-UX
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

We have installed  wu-ftpd  2.4.2-BETA-15 on a HP-UX 10.20 box, and have
patched it to  support  shadow  passwords  and the  installation  in the
directories '/opt/wu-ftpd/{adm|etc|lbin|man}'.

This ftp server  works fine, but we have  problems  with the 'on the fly
compression and archiving'.


We have compiled  statically  linked  versions of gzip and gnu tar, that
work well  separately, the problems arise when we try to use compression
and  archiving  together.  When  trying  to unpack  the  resulting  file
'file.tgz' (tar -zxvf file.tgz) the following error appear:

gzip:  file.tgz:  decompression OK, trailing garbage ignored

This occurs only with  anonymous  access.  When logging with a real user
this works fine.

Our 'ftpconversions' file is:

 :.Z:  :  :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 :   : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
 :.gz: :  :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
 :   : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP
 :   : :.tar:/bin/tar -cf - %s:T_REG|T_DIR:O_TAR:TAR
 :   : :.tar.Z:/bin/tar --use-compress-program=/bin/compress -cf - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
 :   : :.tar.gz:/bin/tar --use-compress-program=/bin/gzip -cf - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
 :   : :.tgz:/bin/tar --use-compress-program=/bin/gzip -cf - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP


We suppose  that this  problem  is due to the  'chroot'  to ~ftp done by
ftpd, We have tried to execute the  command  that  appears in the '.tgz'
entry of  ftpconversions,  with  'chroot ~ftp ....'  (as root) and works
fine ....


With  'compress'  we have  problems  too, we have not found a statically
linked version of this program, then we have put the libraries 'dld.sl',
'libc.1' and 'libdld.1'  under  ~ftp/usr/lib  and the character  special
file 'null' under  ~ftp/dev.  But on the fly compress  compression  does
not work (logged as anonymous).


Does anyone experiences these problems o has any clue that can help us?

Thanks in advance.


	Sincerely yours
			Juanjo


----
Juan Jose Villaplana Querol   villapla@si.uji.es
Servei d'Informatica
Universitat Jaume I - SPAIN

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 13:41:43 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id NAA06524;
	Tue, 10 Mar 1998 13:41:42 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA22730;
	Tue, 10 Mar 1998 13:36:03 -0600 (CST)
Received: from diamond.waii.com (firewall-user@diamond.waii.com [198.3.192.201])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA03984
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 13:29:40 -0600 (CST)
Received: by diamond.waii.com id NAA26817; Tue, 10 Mar 1998 13:29:34 -0600 sender rusty.allen@waii.com for 
Received: from mail.wg.waii.com(137.144.128.17) user <rusty.allen@waii.com> by diamond.waii.com via smap (3.2)
	id xma026712; Tue, 10 Mar 98 13:26:35 -0600
Received: from zeus.wg.waii.com (zeus.wg.waii.com [137.144.128.9])
	by mail1.wg.waii.com (8.8.7/8.8.7) with ESMTP id NAA124380;
	Tue, 10 Mar 1998 13:26:36 -0600
Received: from zeus.wg.waii.com (localhost [127.0.0.1])
	by zeus.wg.waii.com (8.8.7/8.8.7) with ESMTP id NAA84432;
	Tue, 10 Mar 1998 13:26:36 -0600
Message-Id: <199803101926.NAA84432@zeus.wg.waii.com>
Date: Tue, 10 Mar 1998 13:26:35 -0600
Reply-To: rusty.allen@waii.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Rusty Allen <rusty.allen@waii.com>
To: Speier.Guy@cnf.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: /bin/false as a shell 
In-Reply-To: Message from "Speier, Guy J - CNF" <Speier.Guy@cnf.com> 
   of "Tue, 10 Mar 1998 09:03:55 PST."  <6985723206B8D011BA180000F8043BDC03FBFAE5@cnfvs008.cnf.com> 
X-Mailer: exmh version 1.6.9 8/22/96
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


AIX!! Check "shells=" in /etc/security/login.cfg


Your message dated: Tue, 10 Mar 1998 09:03:55 PST
>I just upgraded to beta 16 (on AIX), but those users who's default shell
>is /bin/false may no longer ftp into the site.  They could with an older
>version of wu-ftp though!
>
>Is this an 'enhancement', or did I forget something?  Is there a fix?


----
M.R. Allen  (Rusty)           My comments are my own, not my company's.
       Western Geophysical -  A division of Western Atlas International
Internet Email: rusty.allen@waii.com  VOICE: 713-963-2756 Fax: 713-963-2758



From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 14:39:13 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA29546;
	Tue, 10 Mar 1998 14:39:11 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA30649;
	Tue, 10 Mar 1998 14:27:31 -0600 (CST)
Received: from mailserver.cnf.com ([205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA14811
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 14:26:30 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id MAA15267
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 12:26:19 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <GJLTB2W2>; Tue, 10 Mar 1998 12:26:13 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFAEF@cnfvs008.cnf.com>
Date: Tue, 10 Mar 1998 12:26:12 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>,
        "'rusty.allen@waii.com'"
	 <rusty.allen@waii.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: RE: /bin/false as a shell 
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

this was the fix!
thank you all very much!

> ----------
> From: 	Rusty Allen[SMTP:rusty.allen@waii.com]
> Reply To: 	rusty.allen@waii.com
> Sent: 	Tuesday, March 10, 1998 11:26 AM
> To: 	Speier.Guy@cnf.com
> Cc: 	wu-ftpd@wugate.wustl.edu
> Subject: 	Re: /bin/false as a shell 
> 
> 
> AIX!! Check "shells=" in /etc/security/login.cfg
> 
> 
> Your message dated: Tue, 10 Mar 1998 09:03:55 PST
> >I just upgraded to beta 16 (on AIX), but those users who's default
> shell
> >is /bin/false may no longer ftp into the site.  They could with an
> older
> >version of wu-ftp though!
> >
> >Is this an 'enhancement', or did I forget something?  Is there a fix?
> 
> 
> ----
> M.R. Allen  (Rusty)           My comments are my own, not my
> company's.
>        Western Geophysical -  A division of Western Atlas
> International
> Internet Email: rusty.allen@waii.com  VOICE: 713-963-2756 Fax:
> 713-963-2758
> 
> 

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 16:15:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA01168;
	Tue, 10 Mar 1998 16:15:24 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA22370;
	Tue, 10 Mar 1998 16:10:26 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA26074
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 16:08:44 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA01480; Tue, 10 Mar 98 23:10:36 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    10 Mar 98 23:16:10 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 10 Mar 98 23:15:54 +0100
Message-Id: <7F2982067C@lu-dal2.dal.lu.se>
Date: Tue, 10 Mar 1998 23:15:46 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: wu-ftpd@wugate.wustl.edu
Subject: xferlog inbound only 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Good afternoon,

I'm running beta-16 on Solaris 2.5.1 and everything seems to work 
fine except logging to xferlog.

The manual page ftpd(8) states: "The i-option is overridden by the 
ftpaccess(5) file" (and likewise for the o-option). This doesn't seem 
to be true:

1. My command line in inetd.conf ends with ftpd -a -i -o

2. Incoming and only incoming file transfers are logged in xferlog.

Could it really be the case that the -o option is overridden by 
ftpaccess but not the -i option?

I have tried to have the parms in a different order but nothing seems 
to help; only incoming transfers are logged. That I have them space 
separated is because of the "dying with single parm" syndrome.

What does the manpage actually mean by "overridden by the ftpaccess 
file"?

I know the topic has been touched upon on the list before but I don't
remember if any solution emerged.

Hopefully somebody has experienced this also - and remedied it :).

Best Regards,
Stig

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 10 22:21:12 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id WAA04809;
	Tue, 10 Mar 1998 22:21:11 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA26833;
	Tue, 10 Mar 1998 22:16:21 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA27953
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 22:12:43 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id UAA09492
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Mar 1998 20:12:39 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA172771371; Wed, 11 Mar 1998 09:42:51 +0500
Message-Id: <199803110412.UAA09492@palrel1.hp.com>
Date: Wed, 11 Mar 1998 09:42:50 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: Stig.Isaksson@dal.lu.se
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog inbound only
In-Reply-To: <7F2982067C@lu-dal2.dal.lu.se> from Stig Isaksson at Mar "10," 1998 "11:15:46" pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello Stig,

	I am facing  similar type of problem.  I had sent a mail on this
	yesterday itself.  But nobody replied to it!

	Check  your  ftpaccess  file  and look  for the  directive  "log
	transfers".  I think it will be something like this

	log transfers  real,guest,anonymous,ftp  inbound

	as in your case it is logging only  incoming  transfers.  I have
	experienced  that  until you  specify  this  directive  for both
	inbound and outbound  there is no effect of command line options
	"-i" and "-o". So modify it as below :

	log transfers  real,guest,anonymous,ftp  inbound,outbound

	I don't know whether this is a correct  solution, but atleast it
	works for me.  Please let me know after you solve your problem.

Regards,
Harshal

> 
> I'm running beta-16 on Solaris 2.5.1 and everything seems to work 
> fine except logging to xferlog.
> 
> The manual page ftpd(8) states: "The i-option is overridden by the 
> ftpaccess(5) file" (and likewise for the o-option). This doesn't seem 
> to be true:
> 
> 1. My command line in inetd.conf ends with ftpd -a -i -o
> 
> 2. Incoming and only incoming file transfers are logged in xferlog.
> 
> Could it really be the case that the -o option is overridden by 
> ftpaccess but not the -i option?
> 
> I have tried to have the parms in a different order but nothing seems 
> to help; only incoming transfers are logged. That I have them space 
> separated is because of the "dying with single parm" syndrome.
> 
> What does the manpage actually mean by "overridden by the ftpaccess 
> file"?
> 
> I know the topic has been touched upon on the list before but I don't
> remember if any solution emerged.
> 
> Hopefully somebody has experienced this also - and remedied it :).
> 
> Best Regards,
> Stig
> 
> ------------------------------------------------------------
> Stig Isaksson
> Dialekt- och ortnamnsarkivet
> Helgonabacken 14
> S-223 62 LUND
> S W E D E N
> tel.: +46 46 222 74 68   fax: +46 46 15 23 81
> e-mail: Stig.Isaksson@DAL.lu.se
> http://www.dal.lu.se/
> 
> <Forstaor MIME    Understands MIME>
> ------------------------------------------------------------
> 


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 02:47:33 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id CAA16572;
	Wed, 11 Mar 1998 02:47:32 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA14687;
	Wed, 11 Mar 1998 02:44:25 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA22907
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 02:38:14 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA15373; Wed, 11 Mar 98 09:38:41 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    11 Mar 98 09:44:29 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 11 Mar 98 09:44:22 +0100
Message-Id: <89A34D4539@lu-dal2.dal.lu.se>
Date: Wed, 11 Mar 1998 09:44:18 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: harshalj@india.hp.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog inbound only
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi Harshal,

Thanks for your note.

This is what I have by way of logging directives in my ftpaccess:

log commands anonymous
log commands guest
log commands real 
log transfers anonymous inbound, outbound
log transfers guest inbound, outbound
log transfers real inbound, outbound

I tried earlier to have all three types on the same line but that 
only took care of the first type. I mean, if I had something like

log transfers  real,guest,anonymous  inbound,outbound

I got logging only for real, not for guest and anonymous. What I'm 
talking about now isn't xferlog but the logins logs.

I wonder, is there some kind of conflict between the xferlog logging 
and the other logs? Anyhow, the log directives as they stand in my 
ftpaccess now does not give any outbound logging in xferlog.

Best Regards,
Stig

> I am facing  similar type of problem.  I had sent a mail on this
> yesterday itself.  But nobody replied to it!
> 
> Check  your  ftpaccess  file  and look  for the  directive  "log
> transfers".  I think it will be something like this
> 
> log transfers  real,guest,anonymous,ftp  inbound
> 
> as in your case it is logging only  incoming  transfers.  I have
> experienced  that  until you  specify  this  directive  for both
> inbound and outbound  there is no effect of command line options
> "-i" and "-o". So modify it as below :
> 
> log transfers  real,guest,anonymous,ftp  inbound,outbound
> 
> I don't know whether this is a correct  solution, but atleast it
> works for me.  Please let me know after you solve your problem.

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 03:05:41 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id DAA16692;
	Wed, 11 Mar 1998 03:05:40 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA21702;
	Wed, 11 Mar 1998 03:03:30 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id CAA31563
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 02:57:33 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id AAA04698
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 00:57:28 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA174138461; Wed, 11 Mar 1998 14:27:41 +0500
Message-Id: <199803110857.AAA04698@palrel3.hp.com>
Date: Wed, 11 Mar 1998 14:27:41 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: Stig.Isaksson@dal.lu.se
Cc: harshalj@india.hp.com, wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog inbound only
In-Reply-To: <89A34D4539@lu-dal2.dal.lu.se> from Stig Isaksson at Mar "11," 1998 "09:44:18" am
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi Stig,

	OK, it seems that problem is in your directive itself.
	I think there should not be space between inbound and
	outbound keyword.

> This is what I have by way of logging directives in my ftpaccess:
> 
> log commands anonymous
> log commands guest
> log commands real 
> log transfers anonymous inbound, outbound
				~~~~
  Try instead this
  log transfers anonymous inbound,outbound

> log transfers guest inbound, outbound
			    ~~~~
> log transfers real inbound, outbound
			   ~~~~

	Let me know your reply.

Regards,
Harshal

> 
> I tried earlier to have all three types on the same line but that 
> only took care of the first type. I mean, if I had something like
> 
> log transfers  real,guest,anonymous  inbound,outbound
> 
> I got logging only for real, not for guest and anonymous. What I'm 
> talking about now isn't xferlog but the logins logs.
> 
> I wonder, is there some kind of conflict between the xferlog logging 
> and the other logs? Anyhow, the log directives as they stand in my 
> ftpaccess now does not give any outbound logging in xferlog.
> 
> Best Regards,
> Stig
> 
> > I am facing  similar type of problem.  I had sent a mail on this
> > yesterday itself.  But nobody replied to it!
> > 
> > Check  your  ftpaccess  file  and look  for the  directive  "log
> > transfers".  I think it will be something like this
> > 
> > log transfers  real,guest,anonymous,ftp  inbound
> > 
> > as in your case it is logging only  incoming  transfers.  I have
> > experienced  that  until you  specify  this  directive  for both
> > inbound and outbound  there is no effect of command line options
> > "-i" and "-o". So modify it as below :
> > 
> > log transfers  real,guest,anonymous,ftp  inbound,outbound
> > 
> > I don't know whether this is a correct  solution, but atleast it
> > works for me.  Please let me know after you solve your problem.
> 
> ------------------------------------------------------------
> Stig Isaksson
> Dialekt- och ortnamnsarkivet
> Helgonabacken 14
> S-223 62 LUND
> S W E D E N
> tel.: +46 46 222 74 68   fax: +46 46 15 23 81
> e-mail: Stig.Isaksson@DAL.lu.se
> http://www.dal.lu.se/
> 
> <Forstaor MIME    Understands MIME>
> ------------------------------------------------------------
> 


-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
30C, Cunningham Road				Fax   : (91)(80)2200196
Bangalore 560 052				Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 03:38:57 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id DAA16886;
	Wed, 11 Mar 1998 03:38:56 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA06718;
	Wed, 11 Mar 1998 03:35:38 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA31864
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 03:30:02 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA20631; Wed, 11 Mar 98 10:30:36 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    11 Mar 98 10:36:25 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 11 Mar 98 10:36:07 +0100
Message-Id: <8A80160044@lu-dal2.dal.lu.se>
Date: Wed, 11 Mar 1998 10:36:01 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: harshalj@india.hp.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog inbound only
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear Harshal,

> OK, it seems that problem is in your directive itself.
> I think there should not be space between inbound and
> outbound keyword.

EXACTLY!  THAT DID IT. THANK YOU VERY MUCH! I'll be much more careful 
with my spaces in the future.

Thanks again!

Best Regards,
Stig

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 05:35:27 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA18135;
	Wed, 11 Mar 1998 05:35:26 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA07287;
	Wed, 11 Mar 1998 05:31:31 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA06631
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 05:27:32 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id DAA13817
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 03:27:26 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA224817457; Wed, 11 Mar 1998 16:57:37 +0500
Message-Id: <199803111127.DAA13817@palrel3.hp.com>
Date: Wed, 11 Mar 1998 16:57:37 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: villapla@si.uji.es
Cc: wu-ftpd@wugate.wustl.edu, villapla@nuvol.uji.es
Subject: Re: on the fly compression and archiving on HP-UX
In-Reply-To: <199803101900.UAA14288@nuvol.uji.es> from Juan Jose Villaplana Querol at Mar "10," 1998 "08:00:19" pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

	I am also trying on-the-fly feature on HP-UX. My ftpconversions
	file looks like this :

 :.Z:  :  :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 :   : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
 :.gz: :  :/usr/contrib/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
 :   : :.gz:/usr/contrib/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP
 :   : :.tar:/bin/tar -cf - %s:T_REG|T_DIR:O_TAR:TAR
 :   : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
 :   : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP

	       For me on the fly compress, uncompress, gzip, unzip, tar,
	       untar  working  fine.  But I am not able to do on the fly
	       tar+compress  and tar+gzip.  I am trying it for real user
	       only.  Can anybody give me any hint.

	I noticed that you are using  following lines in  ftpconversions
	for   on   the   fly   tar+compress.  What   does   the   option
	-use-compress-program  mean.  I tried these line in my file, but
	it doesn't work.

  :   : :.tar.Z:/bin/tar --use-compress-program=/bin/compress -cf - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
  :   : :.tar.gz:/bin/tar --use-compress-program=/bin/gzip -cf - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP

	       Thanks in advance.

Regards,
Harshal

> Hello,
> 
> We have installed  wu-ftpd  2.4.2-BETA-15 on a HP-UX 10.20 box, and have
> patched it to  support  shadow  passwords  and the  installation  in the
> directories '/opt/wu-ftpd/{adm|etc|lbin|man}'.
> 
> This ftp server  works fine, but we have  problems  with the 'on the fly
> compression and archiving'.
> 
> 
> We have compiled  statically  linked  versions of gzip and gnu tar, that
> work well  separately, the problems arise when we try to use compression
> and  archiving  together.  When  trying  to unpack  the  resulting  file
> 'file.tgz' (tar -zxvf file.tgz) the following error appear:
> 
> gzip:  file.tgz:  decompression OK, trailing garbage ignored
> 
> This occurs only with  anonymous  access.  When logging with a real user
> this works fine.
> 
> Our 'ftpconversions' file is:
> 
>  :.Z:  :  :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
>  :   : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
>  :.gz: :  :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
>  :   : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP
>  :   : :.tar:/bin/tar -cf - %s:T_REG|T_DIR:O_TAR:TAR
>  :   : :.tar.Z:/bin/tar --use-compress-program=/bin/compress -cf - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
>  :   : :.tar.gz:/bin/tar --use-compress-program=/bin/gzip -cf - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
>  :   : :.tgz:/bin/tar --use-compress-program=/bin/gzip -cf - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
> 
> 
> We suppose  that this  problem  is due to the  'chroot'  to ~ftp done by
> ftpd, We have tried to execute the  command  that  appears in the '.tgz'
> entry of  ftpconversions,  with  'chroot ~ftp ....'  (as root) and works
> fine ....
> 
> 
> With  'compress'  we have  problems  too, we have not found a statically
> linked version of this program, then we have put the libraries 'dld.sl',
> 'libc.1' and 'libdld.1'  under  ~ftp/usr/lib  and the character  special
> file 'null' under  ~ftp/dev.  But on the fly compress  compression  does
> not work (logged as anonymous).
> 
> 
> Does anyone experiences these problems o has any clue that can help us?
> 
> Thanks in advance.
> 
> 
> 	Sincerely yours
> 			Juanjo
> 
> 
> ----
> Juan Jose Villaplana Querol   villapla@si.uji.es
> Servei d'Informatica
> Universitat Jaume I - SPAIN
> 


-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
30C, Cunningham Road				Fax   : (91)(80)2200196
Bangalore 560 052				Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 08:14:03 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA20368;
	Wed, 11 Mar 1998 08:14:03 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA20583;
	Wed, 11 Mar 1998 08:11:25 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA11528
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 08:07:43 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id GAA26786
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 06:07:38 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA226487086; Wed, 11 Mar 1998 19:38:06 +0500
Message-Id: <199803111407.GAA26786@palrel3.hp.com>
Date: Wed, 11 Mar 1998 19:38:06 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Cc: harshalj@india.hp.com (Harshal Savalia)
Subject: on-the-fly tar+compress
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello champions,

	I am  running  wu-ftpd  on HP-UX o.s.  I went thro' the  mailing
	list  archive  and FAQ but I couldn't  find any  information  on
	which files are required in guest/anonymous users accounts to be
	able  to do  on-the-fly  compress/tar  in  HP-UX.  Does  anybody
	already using this feature on HP-UX.  Can you help me out ?

	Also follwing two lines from ftpconversions are not working even
	for real users.

 :   : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
 :   : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP

	What I mean is I am not able to do on-the-fly  tar+compress  and
	tar+zip  for real  user  also.  In  HP-UX  tar  doesn't  support
	options  "-z" and "-Z".  Can anybody tell me what should be used
	in place ot this ?

	Can I replace  "/bin/tar -c -Z -f - %s" with something like this
	"/bin/tar -cf - %s | compress -c".  This is just the guess.

	Thanks in advance.

Best Regards,
Harshal


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 09:44:50 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA21174;
	Wed, 11 Mar 1998 09:44:46 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA18727;
	Wed, 11 Mar 1998 09:40:32 -0600 (CST)
Received: from Bahamut.dragonfire.net ([206.161.150.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA15832
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 09:34:31 -0600 (CST)
Received: (from achurch@localhost) by Bahamut.dragonfire.net (8.8.5/8.8.8) id KAA31632; Wed, 11 Mar 1998 10:21:05 -0500
Message-Id: <199803111521.KAA31632@Bahamut.dragonfire.net>
Date: Wed, 11 Mar 1998 10:21:01 EST
Reply-To: achurch@dragonfire.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: achurch@dragonfire.net (Andy Church)
To: Harshal Savalia <harshalj@india.hp.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: on-the-fly tar+compress
X-Mailer: MMail v4.62
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> :   : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
> :   : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
>
>	What I mean is I am not able to do on-the-fly  tar+compress  and
>	tar+zip  for real  user  also.  In  HP-UX  tar  doesn't  support
>	options  "-z" and "-Z".  Can anybody tell me what should be used
>	in place ot this ?
>
>	Can I replace  "/bin/tar -c -Z -f - %s" with something like this
>	"/bin/tar -cf - %s | compress -c".  This is just the guess.

     No, that won't work, because wu-ftpd uses its own implementation of
popen(), which avoids calling a shell (and therefore prevents pipes from
working--intentionally).  What you should do is just download GNU tar from
prep.ai.mit.edu:/pub/gnu or wherever, compile it, install it as
/usr/local/bin/gtar (or whatever), and change the above ftpconversions
lines to use GNU tar instead of your system's tar.

  --Andy Church                  | If Bell Atlantic really is the heart
    achurch@dragonfire.net       | of communication, then it desperately
    www.dragonfire.net/~achurch/ | needs a quadruple bypass.

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 10:23:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA21608;
	Wed, 11 Mar 1998 10:23:16 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA14818;
	Wed, 11 Mar 1998 10:18:47 -0600 (CST)
Received: from epiphore.francenet.fr (root@epiphore.francenet.fr [193.149.97.10])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA01651
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 10:12:55 -0600 (CST)
Received: from epiphore.francenet.fr (perrot@localhost.francenet.fr [127.0.0.1])
	by epiphore.francenet.fr (8.8.8/8.8.5) with ESMTP id RAA10502
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 17:12:37 +0100 (CET)
Message-Id: <199803111612.RAA10502@epiphore.francenet.fr>
Date: Wed, 11 Mar 1998 17:12:36 +0100
Reply-To: perrot@francenet.fr
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gildas Perrot <perrot@francenet.fr>
To: wu-ftpd@wugate.wustl.edu
Subject: alternate passwd file for wu-ftpd
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 2.0.2 2/24/98
X-Face: '%)H7X3>"mU[aaPz3aZ`^e{*DV1&W;+P-Wx*Yk)Ah[e(-AO&EB\D.gq2y{kH73Q29}_A4H,eykdf!9dj[m\gwFgZOTt?=7gI+RBN,I({A32-MyZrmtrD%8*L/boGS0,+Lj$H|@
X-Url: http://www.francenet.fr/
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

I would like to be able to use and alternate passwd file (different of 
/etc/passwd) for ease of management for .

Is it possible and how ?		Thanks in advance for your help.

Thanks in advance.
-- 
Gildas PERROT, perrot@francenet.fr         __o
FranceNet, 28 rue Desaix, 75015 Paris ---_ \<,_
http://www.francenet.fr            ---- (_)/ (_)



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 17:37:52 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA27119;
	Wed, 11 Mar 1998 17:37:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA25752;
	Wed, 11 Mar 1998 17:32:56 -0600 (CST)
Received: from sun50.thp.Uni-Koeln.DE (sun50.thp.Uni-Koeln.DE [134.95.67.51])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA19606
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 17:29:36 -0600 (CST)
Received: (from sinder@localhost)
	by sun50.thp.Uni-Koeln.DE (8.8.7/8.8.7) id AAA13498;
	Thu, 12 Mar 1998 00:29:29 +0100 (MET)
Message-Id: <199803112329.AAA13498@sun50.thp.Uni-Koeln.DE>
Date: Thu, 12 Mar 1998 00:29:29 +0100 (MET)
Reply-To: sinder@thp.Uni-Koeln.DE
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andreas Sindermann <sinder@thp.Uni-Koeln.DE>
To: wu-ftpd@wugate.wustl.edu
Subject: path for syslog instead of xferlog
Mime-Version: 1.0 (generated by tm-edit 7.92)
Content-Type: text/plain; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

the following patch allows to save transfer messages via syslog
instead of putting them into xferlog. On the command line you can
switch it on with '-X' (no xferlog, like '-A' for no ftpaccess file),
in the ftpaccess file you can switch it on with 'log syslog'.

It's a quite simple patch. It sends the same message (including the
timestamp) to syslog as it would save it into xferlog.

Have fun!

Andreas

PS: Apply the patch from within the wu-ftpd-2.4.2-beta-16 directory as
it also patches the ftpd and ftpaccess manpages.

-- snip --


*** doc/ftpaccess.5.ori	Thu Mar 12 00:20:57 1998
--- doc/ftpaccess.5	Thu Mar 12 00:06:22 1998
***************
*** 216,221 ****
--- 216,225 ----
  of any of the two keywords "inbound" and "outbound", and will
  respectively cause transfers to be logged for files sent to the
  server and sent from the server.
+ .TP 0.5i
+ .B log syslog
+ Redirects the logging messages for incoming and outgoing transfers
+ to syslog. Without this option the messages are written to xferlog.
  .SH Miscellaneous Capabilities
  .TP 0.5i
  .B alias <string> <dir>
*** doc/ftpd.8.ori	Thu Mar 12 00:20:43 1998
--- doc/ftpd.8	Wed Mar 11 23:15:28 1998
***************
*** 45,52 ****
  .BR \-i
  ] [
  .BR \-o
! ]
  .BR \-u umask
  ]
  .SH DESCRIPTION
  .I Ftpd
--- 45,54 ----
  .BR \-i
  ] [
  .BR \-o
! ] [
  .BR \-u umask
+ ] [
+ .BR \-X
  ]
  .SH DESCRIPTION
  .I Ftpd
***************
*** 132,138 ****
  The 
  .B \-o option is overridden by the use of the
  .IR ftpaccess (5)
! file.
  .PP
  If the
  .B \-u
--- 134,147 ----
  The 
  .B \-o option is overridden by the use of the
  .IR ftpaccess (5)
! file. If the
! .B \-X
! option is specified, the output created by the
! .B \-i
! and
! .B \-o
! options is not saved in the xferlog file but saved via syslog
! so you can collect output from several hosts on one central loghost.
  .PP
  If the
  .B \-u
*** src/access.c.ori	Thu Mar 12 00:20:30 1998
--- src/access.c	Wed Mar 11 23:58:30 1998
***************
*** 341,346 ****
--- 341,347 ----
        log_outbound_xfers,
        mangleopts,
        log_commands,
+       syslogmsg,
        lgi_failure_threshold;
  
      struct aclmember *entry = NULL;
***************
*** 355,360 ****
--- 356,362 ----
      log_incoming_xfers = 0;
      log_outbound_xfers = 0;
      log_commands = 0;
+     syslogmsg = 0;
  
      memset((void *)&class[0], 0, sizeof(class));
   
***************
*** 427,432 ****
--- 429,436 ----
              if (set)
                  log_outbound_xfers = outbound;
          }
+         if (!strcasecmp(ARG0, "syslog"))
+             syslogmsg = 1;
      }
  }
  
*** src/ftpd.c.ori	Wed Mar 11 14:15:32 1998
--- src/ftpd.c	Wed Mar 11 17:54:04 1998
***************
*** 240,245 ****
--- 240,249 ----
  int logging = 0;
  int log_commands = 0;
  
+ /* messages usually should be logged to xferlog, but in some cases it makes
+    sense to send them to syslog */
+ int syslogmsg = 0;
+ 
  #ifdef SECUREOSF
  #define SecureWare
  #include <prot.h>
***************
*** 452,458 ****
          envp++;
      LastArgv = envp[-1] + strlen(envp[-1]);
  
!     while ((c = getopt(argc, argv, ":aAvdlLiot:T:u:")) != -1) {
          switch (c) {
  
          case 'a':
--- 456,462 ----
          envp++;
      LastArgv = envp[-1] + strlen(envp[-1]);
  
!     while ((c = getopt(argc, argv, ":aAvdlLiot:T:u:X")) != -1) {
          switch (c) {
  
          case 'a':
***************
*** 512,517 ****
--- 516,525 ----
                  break;
              }
  
+         case 'X':
+             syslogmsg = 1;
+             break;
+ 
          case ':':
              syslog(LOG_ERR, "option -%c requires an argument", optopt);
              break;
***************
*** 1530,1537 ****
          }
      }
  
!     /* if logging is enabled, open logfile before chroot or set group ID */
!     if (log_outbound_xfers || log_incoming_xfers) {
          xferlog = open(logfile, O_WRONLY | O_APPEND | O_CREAT, 0660);
          if (xferlog < 0) {
              syslog(LOG_ERR, "cannot open logfile %s: %s", logfile,
--- 1538,1546 ----
          }
      }
  
!     /* if logging is enabled, open logfile before chroot or set group ID,
!        but only if messages shouldn't be sent to syslog */ 
!     if (log_outbound_xfers || log_incoming_xfers && !syslogmsg) {
          xferlog = open(logfile, O_WRONLY | O_APPEND | O_CREAT, 0660);
          if (xferlog < 0) {
              syslog(LOG_ERR, "cannot open logfile %s: %s", logfile,
***************
*** 1983,1989 ****
                  authenticated ? authuser : "*"
              );
  #endif /* stupid_sprintf */
!         write(xferlog, msg, strlen(msg));
      }
      data = -1;
      pdata = -1;
--- 1992,2001 ----
                  authenticated ? authuser : "*"
              );
  #endif /* stupid_sprintf */
!         if (!syslogmsg)
!             write(xferlog, msg, strlen(msg));
!         else
!             syslog(LOG_INFO, msg);
      }
      data = -1;
      pdata = -1;
***************
*** 2227,2233 ****
                  authenticated ? authuser : "*"
              );
  #endif /* STUPID_SPRINTF */
!         write(xferlog, msg, strlen(msg));
      }
      data = -1;
      pdata = -1;
--- 2239,2248 ----
                  authenticated ? authuser : "*"
              );
  #endif /* STUPID_SPRINTF */
!         if (!syslogmsg)
!             write(xferlog, msg, strlen(msg));
!         else
!             syslog(LOG_INFO, msg);
      }
      data = -1;
      pdata = -1;

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 11 19:24:36 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA28142;
	Wed, 11 Mar 1998 19:24:35 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA26742;
	Wed, 11 Mar 1998 19:21:10 -0600 (CST)
Received: from valhalla.stormking.com (root@valhalla.stormking.com [204.141.98.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA10664
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Mar 1998 19:17:19 -0600 (CST)
Received: from heimdall.UUCP (root@localhost)
	by valhalla.stormking.com (8.8.5/8.8.5) with UUCP id UAA105637
	for wu-ftpd@wugate.wustl.edu; Wed, 11 Mar 1998 20:16:41 -0500
Received: (from ttsg@localhost) by heimdall.ttsg.com (8.8.6/8.8.3) id UAA01722 for wu-ftpd@wugate.wustl.edu; Wed, 11 Mar 1998 20:04:56 -0500
Message-Id: <199803120104.UAA01722@heimdall.ttsg.com>
Date: Wed, 11 Mar 1998 20:04:56 -0500 (EST)
Reply-To: ttsg@ttsg.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: TTSG <ttsg@ttsg.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Different Filesystem access
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

	We run web hosting, and as such create restricted environtments
for our users to ftp in to.  We recently created a system for a dedicated
user which has multiple file systems (Solaris 2.5.1).  Our way of 
solving his web access to those directories are simple soft links.
However, wu-ftpd doesn't like them.  

	I read something about using the loopback file system, but 
truthfully it scares me to use it.  I can't mount the partitions,
since the links are not from a specific directory down, eg:

/a/
   b/  
     c  
     d  
     e 

/b/
   b/
     f
     g
     h

	So I can't just mount /b/b/ over a/b.  Is there a better way
to approach this?  I don't want to slice the disk up so that I don't
worry about /b/b/f being full and /b/b/g being empty.

			Thanks, Tuc/TTSG

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 13 16:15:49 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA05968;
	Fri, 13 Mar 1998 16:15:49 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA16383;
	Fri, 13 Mar 1998 16:04:34 -0600 (CST)
Received: from continuum.eu.org (root@00-00-c0-36-52-fa.bconnected.net [209.53.18.68])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA15392
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Mar 1998 15:58:32 -0600 (CST)
Received: from localhost (shane@localhost)
	by  continuum.eu.org (8.8.8/8.8.8) with SMTP id MAA32248
	for <wu-ftpd@mail.wustl.edu>; Fri, 13 Mar 1998 12:59:05 -0800
Message-Id: <Pine.LNX.3.96.980313125618.32244A-100000@continuum.eu.org>
Date: Fri, 13 Mar 1998 12:59:04 -0800 (PST)
Reply-To: shane@continuum.eu.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Shane Wegner <shane@continuum.eu.org>
To: wu-ftpd@wugate.wustl.edu
Subject: limiting connections via ip with wu-ftpd
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

-----BEGIN PGP SIGNED MESSAGE-----

Hi all,

I have read the man page for ftpaccess and could not find anything of
relevance so I thought I'd ask here.  I would like to limit users to only
one connection per ip.  I have a limit of 20 remote users and people offen
monopolize the bandwidth.  Currently, I just go through ftpwho now and
then and ban the ips that are doing it but it'd be nice to be able to do
it.  Any suggestions or pointers would be much appreciated.

- -
	Shane Wegner	<shane@continuum.eu.org>
	Sysadmin:	Continuum Systems <http://www.continuum.eu.org>

   To receive my PGP public key, send a message to shane@continuum.eu.org
with the word "sendkey" in the subject of the message ignoring the quotes.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNQmeGKeq+0eJMsK9AQFPMgQAj82wCFWt+gvQxLsgmcU9K6IDFNKNUFNj
97B0H55EB3FLB9aVqsywZc37Dh02RA6NX89E9DBmENZChaSC6iniWZaYhcu79Tox
hHs1lGXIK4DBrP65Wo51kYLRA9DJk5tmBFVpmCqxwnvkkO6EZKABr8AXUJB/cTOR
LBgBzVihe1w=
=uS7p
-----END PGP SIGNATURE-----


From owner-wu-ftpd@wugate.wustl.edu  Sat Mar 14 16:26:36 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA25038;
	Sat, 14 Mar 1998 16:26:36 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA22950;
	Sat, 14 Mar 1998 16:22:37 -0600 (CST)
Received: from www.destek.net (ns2.destek.net [192.156.97.61])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA22782
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Mar 1998 16:18:33 -0600 (CST)
Received: from synergy.Destek.Net (root@synergy.destek.net [192.156.97.240])
	by www.destek.net (8.8.7/8.8.7) with ESMTP id RAA01653
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Mar 1998 17:18:31 -0500 (EST)
Received: from [[UNIX: localhost]] ([[UNIX: localhost]])
	by synergy.Destek.Net (8.8.7/8.8.7) with SMTP id RAA05348
	for <wu-ftpd@mail.wustl.edu>; Sat, 14 Mar 1998 17:18:29 -0500 (EST)
Message-Id: <199803142218.RAA05348@synergy.Destek.Net>
Date: Sat, 14 Mar 1998 17:18:27 -0500
Reply-To: marc@destek.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Marc Evans <marc@destek.net>
To: wu-ftpd@wugate.wustl.edu
Subject: 2.4.2b16 on DEC Unix (3.0, 3.2C, and 4.0D)
X-Sender: marc@destek.net
X-Authentication-Warning: synergy.Destek.Net: [[UNIX: localhost]] didn't use HELO protocol
X-Uri: <URL:http://www.destek.net/~marc>
X-Face: ">4>,~~_HqlZ,c;!7K60$oLXj\whr`|V-}}cog.gO2Q^/CC[E>,Ez*N0C#)CYY8J\]APjp6
 ~)]fwuyFuTXe{7z'Zgt,=+chm*DPh([b^SBn.^jXxI/oT=_L:ws!rF{y[99PV$-~#@dhtc3Y*fK!so
 4g:PM0)hs0*9)TsHWfN)=d0P_|
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi -

I have been trying to get wu-ftpd version 2.4.2-beta16 working on DEC Unix.
I have access to 3 versions, all of which exhibit the problems I describe
below.

Problem 1 is that as hard as I try I can not seem to get uploaded files
(from the anonymous user) to have the desired UID/GID from the ftpaccess
configuration file. The UID ftp is always used.

Problem 2 is that after any 1 upload or download, the connection is ALWAYS
closed, requiring the user to log back in. This is not true for any commands
that do not result in a file transfer. I should note that mget/mput has
the same results, which are quite unpleasent.

Is anyone else seeing these problems? Does anyone have modified code that
addresses these problems that I could just use, or shall I begin the process
of debugging the root of these problems?

Thanks in advance - Marc
===============================================================================
Marc Evans                            WB1GRH      The Destek Networking Group
E-Mail: Marc@Destek.NET                           One Indian Head Plaza
URL: http://WWW.Destek.NET/~marc                  Nashua, NH, USA 03060
MIME-1.0 & Enriched-Text mail accepted            603 594 9630 (V) 598 8864 (F)
PGP-2.6 key available upon request                WAN & Internet Services
PGP-2.6 Fingerprint:  20 7C A2 DB 17 B2 21 80  47 AA B9 CD D9 DE 31 CC
       The XFree86[tm] Project, Inc. Industry Liason <Marc@XFree86.Org>
===============================================================================

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 16 22:38:27 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id WAA14422;
	Mon, 16 Mar 1998 22:38:26 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA08597;
	Mon, 16 Mar 1998 22:31:39 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA09008
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Mar 1998 22:26:40 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id UAA28065
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Mar 1998 20:26:35 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA263140630; Tue, 17 Mar 1998 09:57:10 +0500
Message-Id: <199803170426.UAA28065@palrel3.hp.com>
Date: Tue, 17 Mar 1998 09:57:10 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: shutdown is not working properly (fwd)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello champions,

	Nobody replied to this mail so I am resending it again. Can
	anbody help me out in resolving this problem ?

	Again, thanks in advance.

Regards,
Harshal

> 
> Hello all,
> 
> 	From the code in the  extensions.c  file I came to know  that if
> 	you have shutdown  directive  exist in your  ftpaccess  file and
> 	that file is created at proper place then ftp will warn the user
> 	at  every 5  minutes  if  less  than  15  minutes  are  left  to
> 	disconnection time.  Similarly it will warn the user at every 30
> 	minutes  if less than 24 hours are left to  disconnection  time.
> 	But when I tried  to  check  this it  didn't  work.  Only  thing
> 	working is it displays  warning  continulusly  when less than 60
> 	seconds are left to disconnection  time.  Has anyone experienced
> 	this ?  Any clues ?
> 
> 	I spent whole day to check this and make it working.  But all in
> 	vain.  Please HELP me !
> 
> 	Thanks in advance for any help.
> 
> Best Regards,
> Harshal
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 17 06:49:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id GAA29724;
	Tue, 17 Mar 1998 06:49:03 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA07608;
	Tue, 17 Mar 1998 06:41:42 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA06235
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Mar 1998 06:34:56 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA13310; Tue, 17 Mar 98 13:37:28 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    17 Mar 98 13:41:09 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 17 Mar 98 13:40:57 +0100
Message-Id: <3FCFA2158D@lu-dal2.dal.lu.se>
Date: Tue, 17 Mar 1998 13:40:48 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Undeletable - how?
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi to all,

I'm afraid this has been up before, but It's faster to post :)
And I suppose this is a fast and (to most list members) a very simple 
question.

In one of our guest accounts I have directories where people can 
upload files for the benefit of all. At night a script is run to make 
those files unchangable the next day, i.e. people should be able to 
delete and change the files the same day they put them there - the 
next day the files are considered published for good. This works in a 
way. After

chown root *
chgrp other *
chmod 555

nobody with the guest account can upload a file with the same name as 
one already present. But *they can delete them*. How do I make them 
undeletable. I have tried to set the sticky bit with chmod 1555 but 
the files are still deletable to the guest group members. Is this 
due to some property in wu-ftp or in the client (it's WS-FTP95) or 
what? I have up to now been absolutely convinced that if I don't own 
a file, and it has r-x rights only, like the following

-r-xr-xr-t   1 root     other        101 Mar 17 13:16 svtest.txt

nobody but root could delete it.

Someone please enlighten me.

Best Regards,
Stig

------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 17 11:51:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA03082;
	Tue, 17 Mar 1998 11:51:23 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA30051;
	Tue, 17 Mar 1998 11:43:49 -0600 (CST)
Received: from emcmail.lss.emc.com (emcmail.lss.emc.com [168.159.48.78])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA29845
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Mar 1998 11:42:19 -0600 (CST)
Received: from lss4178.lss.emc.com (lss4178.lss.emc.com [168.159.52.178]) by emcmail.lss.emc.com (8.8.8/8.7.3) with ESMTP id MAA10061 for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Mar 1998 12:13:33 -0500 (EST)
Received: from localhost (tgorby@localhost)
	by lss4178.lss.emc.com (8.8.8/8.8.8) with SMTP id MAA03726
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Mar 1998 12:13:32 -0500 (EST)
Message-Id: <Pine.GSO.3.95.980317120735.3526R-100000@lss4178.lss.emc.com>
Date: Tue, 17 Mar 1998 12:13:32 -0500 (EST)
Reply-To: tgorby@emc.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Terry Gorby <tgorby@emc.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftpd and timezone info
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: lss4178.lss.emc.com: tgorby owned process doing -bs
X-Sender: tgorby@lss4178.lss.emc.com
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have read and searched the FAQ's. I have tried several
variations. Still, when accessing the ftp server as ftp 
or guest the timezone is displayed as GMT.
Has anyone solved this problem. Real users get the correct
timezome displayed.

Current info:

Solaris 5.5.1; In my last attempt, I copied
/usr/share/lib/zone* to ~ftp/usr/share/lib/zoneinfo.
I placed TIMEZONE file in ~ftp/etc.
files under ~ftp/usr/share are owned by bin and have
permissions the same as the oriinal /usr/sare path.

I have installed wu-2.4.2-academ[BETA-16].

Thanks in advance.


<<<<>>>><<<<>>>><<<<>>>>
<<>>  Terry  Gorby  <<>>
<<>>                <<>>
<<>> tgorby@emc.com <<>>
<<<<>>>><<<<>>>><<<<>>>>



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 18 18:43:20 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA29812;
	Wed, 18 Mar 1998 18:43:19 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA10952;
	Wed, 18 Mar 1998 18:37:13 -0600 (CST)
Received: from smtp3.ny.us.ibm.com (smtp3.ny.us.ibm.com [198.133.22.42])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA07563
	for <wu-ftpd@mail.wustl.edu>; Wed, 18 Mar 1998 18:28:56 -0600 (CST)
Received: from relay3.server.ibm.com (relay3.server.ibm.com [9.14.2.100])
	by smtp3.ny.us.ibm.com (8.8.7/8.8.7) with ESMTP id TAA20316
	for <wu-ftpd@mail.wustl.edu>; Wed, 18 Mar 1998 19:23:05 -0500
Received: from US.IBM.COM (d03lms02.boulder.ibm.com [9.99.80.12])
	by relay3.server.ibm.com (8.8.7/8.8.7) with SMTP id TAA16270
	for <wu-ftpd@mail.wustl.edu>; Wed, 18 Mar 1998 19:25:50 -0500
Received: by US.IBM.COM (Soft-Switch LMS 2.0) with snapi via D03AU006
          id 5030200026716923; Wed, 18 Mar 1998 19:35:20 -0500
Message-Id: <5030200026716923000002L032*@MHS>
Date: Wed, 18 Mar 1998 19:35:20 -0500
Reply-To: hc@ca.ibm.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Henry Chan <hc@ca.ibm.com>
To: <wu-ftpd@wugate.wustl.edu>
Subject: Help with wuftpd
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id SAA08344
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've recently compiled wuftpd on my AIX4.2 box,
but after I run inetd and try ftping, I get a timeout...
I don't even get to the stage of entering a password.
HELP!
# ftp localhost
Connected to localhost.
220 starbug FTP server (Version wu-2.4(3) Wed Mar 18 16:04:19 PST 1998) ready.
Name (localhost:root): anonymous
421 Timeout (900 seconds): closing control connection.
Login failed.
ftp> # same thing happens to any user other than anonymous


Thanks
Henry

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 19 01:29:52 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id BAA04454;
	Thu, 19 Mar 1998 01:29:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA12294;
	Thu, 19 Mar 1998 01:24:32 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id BAA11103
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Mar 1998 01:20:17 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id XAA24590
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Mar 1998 23:20:12 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA280483842; Thu, 19 Mar 1998 12:50:42 +0500
Message-Id: <199803190720.XAA24590@palrel3.hp.com>
Date: Thu, 19 Mar 1998 12:50:42 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Cc: harshalj@india.hp.com (Harshal Savalia)
Subject: Virtual ftp setup -  HELP!
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

	Please can  anyone  help me in  setting  up  virtual  ftp.  I am
	resending the attached mail as nobody  replied it.  Mean while I
	continued  my  effort.  When I  login  as  anonymous  user it is
	chrooted to  "/virtual"  directory as  mentioned  in the virtual
	directive.  For ftp my /etc/passwd has following entry :

	ftp:*:500:1:Anonymous FTP user:/home/ftp:/usr/bin/false

	So I think this is the way anonymous  ftp works when ftp is done
	to virtual ftp server.  Am I right ?

	Now for one of my guest user - abtuser, I have  following  entry
	in /etc/passwd file :

	abtuser:q8VFkdF0G1zkU:7140:713:abt1 test acct:/scaf/abtuser:/usr/bin/sh

	When this user  tries to  connect to  virtual  ftp  server he is
	chrooted to its home directory - /scaf/abtuser and welcome banner
	is displayed as I defiend in /virtual directory.  So is  this the
	way guest users work when they  connect to virtual ftp server or
	I have to create  /scaf/abtuser inside /virtual and the entry in
	/etc/passwd for this user should read as

	abtuser:q8VFkdF0G1zkU:7140:713:abt1 test acct:/virtual/./scaf/abtuser:/usr/bin/sh

	But   when   I   tried    this    user    initially    logs   in
	/virtual/scaf/abtuser  directory,  but  he is  allowed  to cd to
	/virtual directory.

	Those of you who knows how to set up virtual ftp please help me.

Thanks,
Harshal

>Hello everybody,
>
>	I am trying to set up "virtual  ftp".  But some concepts are not
>	clear in my mind.  I went  thro'  all  related  FAQs  and  other
>	documents which  describes  virtual ftp, but I couldn't clear my
>	doubts.
>
>	I have  aliased my IP  address  to  15.70.178.100.  Then I added
>	following lines in my ftpaccess file :
>
>	virtual 15.70.178.100 root /virtual
>	virtual 15.70.178.100 banner /virtual/banner.msg
>	virtual 15.70.178.100 logfile /virtual/xferlog
>
>	Now  my  question  is do I need  to  create  a user  whose  home
>	directory falls into "/virtual"  directory as I mentioned in the
>	directive ?  Something like "/virtual/home/joe" for example.  So
>	when user joe logs in with this IP  address he will be  chrooted
>	to his home  directory.  Similar  thing  applies  to  guest  and
>	anonymous users who does ftp using this aliased IP address ?
>
>	Thanks in advance for your help.
>
>Best Regards,
>Harshal
-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 19 14:13:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA20090;
	Thu, 19 Mar 1998 14:13:47 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA29291;
	Thu, 19 Mar 1998 13:56:57 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA27994
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Mar 1998 13:52:57 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id LAA26261
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Mar 1998 11:52:46 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <H2F4HH3K>; Thu, 19 Mar 1998 11:52:39 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFB64@cnfvs008.cnf.com>
Date: Thu, 19 Mar 1998 11:52:37 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: problem with guest users
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

	hello all!

	I recently compiled beta 16 on sol 2.5.0,
	and everything works well except for 2 things:

	1st the major problem:
	1) guest users can log in, but trying to do an
	ls (in any directory) produces the following result:

	230 User username logged in.  Access restrictions apply.
	ftp> ls   
	425 Can't open passive connection: No such file or directory.
	200 PORT command successful.
	425 Can't create data socket (0.0.0.0,20): No such file or
directory.
	ftp> 

	could anybody offer some assistance

	now the minor one:
	2) times are all incorrect (and also are for central, not
pacific time, as I need).

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 19 17:27:41 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA21733;
	Thu, 19 Mar 1998 17:27:40 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA11411;
	Thu, 19 Mar 1998 17:20:32 -0600 (CST)
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA15592
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Mar 1998 17:16:59 -0600 (CST)
Received: (from koos@localhost) by pizza.hvu.nl (8.8.6/KH19970721 (dbm++)) id VAA12908; Thu, 19 Mar 1998 21:48:56 +0100 (MET)
Message-Id: <199803192048.VAA12908@pizza.hvu.nl>
Date: Thu, 19 Mar 1998 21:48:56 +0100 (MET)
Reply-To: koos@pizza.hvu.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Koos van den Hout _U nix and we all_ <koos@pizza.hvu.nl>
To: Speier.Guy@cnf.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: problem with guest users
In-Reply-To: <6985723206B8D011BA180000F8043BDC03FBFB64@cnfvs008.cnf.com> from "Speier, Guy J - CNF" at "Mar 19, 98 11:52:37 am"
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Files: the truth is out there
X-I-Am-Not-Simes: There is only one Simes
X-Mailer: ELM [version 2.4ME+ PL31H (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Quoting Speier, Guy J - CNF, who wrote :

> 	ftp> ls   
> 	425 Can't open passive connection: No such file or directory.

The chrooted environment for the guest users needs several device files.
Look in the man page of the Solaris ftpd to see which (look for the files
needed in the anonymous area).

> 	200 PORT command successful.
> 	425 Can't create data socket (0.0.0.0,20): No such file or
> directory.

This and others in the faq for wu-ftpd at

http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html

                                                 Koos

-- 
It'd be real easy to complete half the job of writing a M$ admin manual;
just make all the odd-numbered steps "reboot the system".  Coming up with
the even-numbered ones would be the only tedious part.
                                             - Anthony DeBoer in a.s.r

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 19 18:26:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA22103;
	Thu, 19 Mar 1998 18:26:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA19072;
	Thu, 19 Mar 1998 18:19:30 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA20303
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Mar 1998 18:15:01 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id QAA05422
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Mar 1998 16:14:59 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <H2SF8YNL>; Thu, 19 Mar 1998 15:11:44 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFB67@cnfvs008.cnf.com>
Date: Thu, 19 Mar 1998 15:11:42 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: problem with guest users
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



> guest users can log in, but trying to do an
> ls (in any directory) produces the following result:
> 
> 230 User username logged in.  Access restrictions apply.
> ftp> ls   
> 425 Can't open passive connection: No such file or directory.
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): No such file or directory.
> ftp> 
> 
> could anybody offer some assistance ... also ... put and get do not
> work!
	I cannot find an applicable cause for this situation!  PLEASE
HELP ME!
	<we are talkin' about a desperate guy here>



From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 00:36:31 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id AAA25601;
	Fri, 20 Mar 1998 00:36:30 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA14905;
	Fri, 20 Mar 1998 00:31:59 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA15551
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 00:26:47 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id WAA03144;
	Thu, 19 Mar 1998 22:26:42 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA287767024; Fri, 20 Mar 1998 11:57:04 +0500
Message-Id: <199803200626.WAA03144@palrel1.hp.com>
Date: Fri, 20 Mar 1998 11:57:04 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: mbrennen@fni.com
Cc: harshalj@india.hp.com, wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual ftp setup -  HELP!
In-Reply-To: <Pine.LNX.3.96.980319101440.26613J-100000@ns1.fni.com> from Michael Brennen at Mar "19," 1998 "10:20:32" am
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello  Michael,

	Thank you very much for your reply.

>
>You don't say what version of wu-ftpd you are running.  If you are not
>running the latest beta, get it and install it first. 


	I am  running  wu-ftpd-2.4.2-beta-15.  I am running  it on HP-UX
	box.


>> 	Now for one of my guest user - abtuser, I have  following  entry
>> 	in /etc/passwd file :
>> 
>> 	abtuser:q8VFkdF0G1zkU:7140:713:abt1 test acct:/scaf/abtuser:/usr/bin/sh
>
>This is missing a /./; I don't understand why it chroots without it. 


	This is the code portion of pass() function from ftpd.c, which I
	think does the chroot for guest user

    if (anonymous || guest) {
	    char *sp;
	    /* We MUST do a chdir() after the chroot. Otherwise the old current
	     * directory will be accessible as "." outside the new root! */
     #ifdef VIRTUAL
	     if (virtual_mode && !guest) {
			 if (pw->pw_dir)
				 free(pw->pw_dir);
               		 pw->pw_dir = sgetsave(virtual_root);
	     }
     #endif
											     /* determine root and home directory */

	     if ((sp = strstr(pw->pw_dir, "/./")) == NULL) {
		 if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
			 reply(530, "Can't set guest privileges.");
			 goto bad;
                 }
	    } else{
	      *sp++ = '\0';
		if (chroot(pw->pw_dir) < 0 || chdir(++sp) < 0) {
		    reply(550, "Can't set guest privileges.");
	            goto bad;
		  }
	  }
      }


>
>> 	When this user  tries to  connect to  virtual  ftp  server he is
>> 	chrooted to its home directory - /scaf/abtuser and welcome banner
>> 	is displayed as I defiend in /virtual directory.  So is  this the
>> 	way guest users work when they  connect to virtual ftp server or
>> 	I have to create  /scaf/abtuser inside /virtual and the entry in
>> 	/etc/passwd for this user should read as
>> 
>> 	abtuser:q8VFkdF0G1zkU:7140:713:abt1 test acct:/virtual/./scaf/abtuser:/usr/bin/sh
>> 
>> 	But   when   I   tried    this    user    initially    logs   in
>> 	/virtual/scaf/abtuser  directory,  but  he is  allowed  to cd to
>> 	/virtual directory.
>
>Your results are just backward of what should be happening.  The user
>without /./ should not be chrooted, and you say he is.  The user with
>/./ should be chrooted, and you say he is not.  ???
>
>Examining the source should help you decipher what is happening.


	From the above  snippet of the code as per my  understanding  it
	does the  chroot for guest user when they login to  virtual  ftp
	server.  There is no need for /./  entry in  /etc/passswd  file.
	Is there any thing I have misunderstood ?

	Other  thing  which I noted is when  anonymous  user  logs in to
	virtual ftp server they are chrooted to the  directory  which is
	mentioned in the "virtual <IP ADDRESS> root" directive.  Is this
	behaviour  correct or they should be chrooted to the  account of
	ftp user as mentioned in the /etc/passwd file ?

	Looking forward for some help from you people.

Thanks and Regards,
Harshal

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 02:49:19 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id CAA05916;
	Fri, 20 Mar 1998 02:49:18 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA15264;
	Fri, 20 Mar 1998 02:44:35 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA22466
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 02:37:32 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA15930; Fri, 20 Mar 98 09:39:56 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    20 Mar 98 09:42:42 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 20 Mar 98 09:42:26 +0100
Message-Id: <13CE5916ED@lu-dal2.dal.lu.se>
Date: Fri, 20 Mar 1998 09:42:24 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: Speier.Guy@cnf.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: problem with guest users
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Good morning,

Don't put too much confidence in this reply (because I'm a novice 
still), but (most of) this behaviour is what usually occurs when the 
access permissions to ~/<someguest>/etc/dev/tcp are not at least 666.

Best of Luck,
Stig

> > guest users can log in, but trying to do an
> > ls (in any directory) produces the following result:
> > 
> > 230 User username logged in.  Access restrictions apply.
> > ftp> ls   
> > 425 Can't open passive connection: No such file or directory.
> > 200 PORT command successful.
> > 425 Can't create data socket (0.0.0.0,20): No such file or directory.
> > ftp> 
> > 
> > could anybody offer some assistance ... also ... put and get do not
> > work!
> 	I cannot find an applicable cause for this situation!  PLEASE
> HELP ME!
> 	<we are talkin' about a desperate guy here>
> 
> 
> 
------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 04:14:02 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id EAA07004;
	Fri, 20 Mar 1998 04:14:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA00076;
	Fri, 20 Mar 1998 04:07:31 -0600 (CST)
Received: from ngate.ixea.net (ngate.ixea.net [195.4.234.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA30434
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 04:02:51 -0600 (CST)
Received: from tiger.eeb.de by ngate.ixea.net id aa08891; 20 Mar 98 11:01 CET
Message-Id: <Pine.WNT.3.95.980320110010.139A-100000@tiger.eeb.de>
Date: Fri, 20 Mar 1998 11:02:03 +0100 (MET)
Reply-To: kef@eeb.de
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Konstantin Eftaxias <kef@eeb.de>
To: Stig Isaksson <Stig.Isaksson@dal.lu.se>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Undeletable - how?
In-Reply-To: <3FCFA2158D@lu-dal2.dal.lu.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-X-Sender: kef@ngate.ixea.net
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, 17 Mar 1998, Stig Isaksson wrote:

> Hi to all,
> 
> I'm afraid this has been up before, but It's faster to post :)
> And I suppose this is a fast and (to most list members) a very simple 
> question.
> 
> In one of our guest accounts I have directories where people can 
> upload files for the benefit of all. At night a script is run to make 
> those files unchangable the next day, i.e. people should be able to 
> delete and change the files the same day they put them there - the 
> next day the files are considered published for good. This works in a 
> way. After
> 
> chown root *
> chgrp other *
> chmod 555
> 
> nobody with the guest account can upload a file with the same name as 
> one already present. But *they can delete them*. How do I make them 
> undeletable. I have tried to set the sticky bit with chmod 1555 but 
> the files are still deletable to the guest group members. Is this 
> due to some property in wu-ftp or in the client (it's WS-FTP95) or 
> what? I have up to now been absolutely convinced that if I don't own 
> a file, and it has r-x rights only, like the following
> 
> -r-xr-xr-t   1 root     other        101 Mar 17 13:16 svtest.txt
> 
> nobody but root could delete it.
> 
The right to delete a file depends on the prmissions of the directory, not
the file! If you have write perms on a Directory, you may delete the file,
even if you are not allowed to read id ( thats from the file permissions !
)

> Someone please enlighten me.
> 
> Best Regards,
> Stig
Hope that helps,

------------------------------------------------------------------------------
Konstantin Eftaxias 					Tel.: ++49 711 701 756
Eftaxias EDV Beratung					Fax.: ++49 711 701 339
Bernhauser Hauptstr. 29					eMail kef@eeb.de
70794 Filderstadt					
------------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 05:42:46 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA08202;
	Fri, 20 Mar 1998 05:42:45 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA04604;
	Fri, 20 Mar 1998 05:37:08 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA01657
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 05:29:52 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id DAA28405
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 03:29:47 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA290285202; Fri, 20 Mar 1998 17:00:02 +0500
Message-Id: <199803201129.DAA28405@palrel1.hp.com>
Date: Fri, 20 Mar 1998 17:00:02 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Cc: harshalj@india.hp.com (Harshal Savalia)
Subject: Problem with ftphosts
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

	Today I was  checking  the  functionality  of  ftphosts  file in
	wu-ftpd-2.4.2-beta-15.  I  think  it   interprets   the   "deny"
	directive  differently  than  what  it  actually  should  do.  I
	specified following directive in the ftphosts file :

	deny   root       some.host.name

	But after  that any user  logging in as "root" is denied  access
	irrespective  of the host from  where he has done ftp.  Actually
	it   should   deny   access   only   to  the   "root"   user  of
	"som.host.name".  Is this is a bug in code of  hostacc.c  file ?
	Can anyone throw light on it ?

	Your input will be highly appreciated.

Thanks,
Harshal

-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
30C, Cunningham Road				Fax   : (91)(80)2200196
Bangalore 560 052				Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 07:48:55 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id HAA09516;
	Fri, 20 Mar 1998 07:48:54 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA03751;
	Fri, 20 Mar 1998 07:41:37 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA02432
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 07:30:38 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id FAA28834;
	Fri, 20 Mar 1998 05:07:10 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA291531058; Fri, 20 Mar 1998 18:37:38 +0500
Message-Id: <199803201307.FAA28834@palrel1.hp.com>
Date: Fri, 20 Mar 1998 18:37:38 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: gaston@riu.edu.ar
Cc: harshalj@india.hp.com, wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with ftphosts
In-Reply-To: <m0yG1Kk-000rLQC@noc.uba.ar> from Gaston Franco at Mar "20," 1998 "09:55:37" am
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello Gaston,

> > 	Today I was  checking  the  functionality  of  ftphosts  file in
> > 	wu-ftpd-2.4.2-beta-15.  I  think  it   interprets   the   "deny"
> > 	directive  differently  than  what  it  actually  should  do.  I
> > 	specified following directive in the ftphosts file :
> > 
> > 	deny   root       some.host.name
> > 
> > 	But after  that any user  logging in as "root" is denied  access
> > 	irrespective  of the host from  where he has done ftp.  Actually
> > 	it   should   deny   access   only   to  the   "root"   user  of
> > 	"som.host.name".  Is this is a bug in code of  hostacc.c  file ?
> > 	Can anyone throw light on it ?
> 
> see in the ftpusers file ... 
> if the user root is listed in this file, then the access is denied.

	In my ftpusers file only entries are
		nobody
		nuucp

	So it is not a problemm of  ftpusers  file.  When I comment  out
	the deny  directive  specified as above form  ftphosts file then
	"root" users are allowed from all hosts.

	Thank you very much for your valuable input.

With Regards,
Harshal
> 

-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 09:25:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA10361;
	Fri, 20 Mar 1998 09:25:41 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA17234;
	Fri, 20 Mar 1998 09:19:25 -0600 (CST)
Received: from noc.uba.ar (noc.uba.ar [170.210.2.33])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA16872
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 09:16:42 -0600 (CST)
Received: by noc.uba.ar
	via sendmail with stdio
	id <m0yG1Kk-000rLQC@noc.uba.ar>
	for wu-ftpd@wugate.wustl.edu; Fri, 20 Mar 1998 09:55:38 -0300 (ARG)
	(Smail-3.2 1996-Jul-4 #2 built 1996-Aug-16)
Message-Id: <m0yG1Kk-000rLQC@noc.uba.ar>
Date: Fri, 20 Mar 1998 09:55:37 -0300 (ARG)
Reply-To: gaston@riu.edu.ar
Sender: owner-wu-ftpd@wugate.wustl.edu
From: gaston@riu.edu.ar (Gaston Franco)
To: harshalj@india.hp.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with ftphosts
In-Reply-To: <199803201129.DAA28405@palrel1.hp.com> from "Harshal Savalia" at Mar 20, 98 05:00:02 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Harshal Savalia wrote:
> 
> 
> Hello,
> 
> 	Today I was  checking  the  functionality  of  ftphosts  file in
> 	wu-ftpd-2.4.2-beta-15.  I  think  it   interprets   the   "deny"
> 	directive  differently  than  what  it  actually  should  do.  I
> 	specified following directive in the ftphosts file :
> 
> 	deny   root       some.host.name
> 
> 	But after  that any user  logging in as "root" is denied  access
> 	irrespective  of the host from  where he has done ftp.  Actually
> 	it   should   deny   access   only   to  the   "root"   user  of
> 	"som.host.name".  Is this is a bug in code of  hostacc.c  file ?
> 	Can anyone throw light on it ?

see in the ftpusers file ... 
if the user root is listed in this file, then the access is denied.

> Thanks,
> Harshal
> 
> -- 
> -------------------------------------------------------------------------------
> Harshal Savalia					email : harshalj@india.hp.com
> Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
> 30C, Cunningham Road				Fax   : (91)(80)2200196
> Bangalore 560 052				Telnet: 847-1424
> India.
> -------------------------------------------------------------------------------
> 


-- 
                       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                            Gaston Franco (gaston@riu.edu.ar)

                            Red de Interconexion Universitaria 
                               Universidad de Buenos Aires
                       Tel.: (54-1) 511-1200; Fax: (54-1) 787-2656
                       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 09:43:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA10631;
	Fri, 20 Mar 1998 09:43:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA19289;
	Fri, 20 Mar 1998 09:37:52 -0600 (CST)
Received: from johngalt.celestial.com (johngalt.celestial.com [192.136.111.59])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA18345
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 09:32:34 -0600 (CST)
Received: from thinker.celestial.com (2547 bytes) by johngalt.celestial.com
	via rsmtp with P\:bsmtp/R:inet_hosts/T:smtp
	(sender: <bill@celestial.com>) 
	id <m0yG3mZ-000FrPC@johngalt.celestial.com>
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 07:32:31 -0800 (PST)
	(Smail-3.2.0.96 1997-Jun-2 #22 built 1997-Jul-19)
Received: from localhost (2115 bytes) by thinker.celestial.com
	via sendmail with P:stdio/R:smart_host/T:inet_demand_uusmtp
	(sender: <bill>) (ident <bill> using unix)
	id <m0yG3mH-000dH9C@thinker.celestial.com>
	for <archive-bill@camco2.celestial.com>; Fri, 20 Mar 1998 07:32:13 -0800 (PST)
	(Smail-3.2.0.96 1997-Jun-2 #23 built 1997-Sep-15)
Message-Id: <19980320073213.25404@celestial.com>
Date: Fri, 20 Mar 1998 07:32:13 -0800
Reply-To: bill@celestial.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Campbell <bill@celestial.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Re: Undeletable - how?
In-Reply-To: <Pine.WNT.3.95.980320110010.139A-100000@tiger.eeb.de>; from Konstantin Eftaxias on Fri, Mar 20, 1998 at 11:02:03AM +0100
References: <3FCFA2158D@lu-dal2.dal.lu.se> <Pine.WNT.3.95.980320110010.139A-100000@tiger.eeb.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.88
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, Mar 20, 1998 at 11:02:03AM +0100, Konstantin Eftaxias wrote:
>On Tue, 17 Mar 1998, Stig Isaksson wrote:
....
>> nobody with the guest account can upload a file with the same name as 
>> one already present. But *they can delete them*. How do I make them 
>> undeletable. I have tried to set the sticky bit with chmod 1555 but 
>> the files are still deletable to the guest group members. Is this 
>> due to some property in wu-ftp or in the client (it's WS-FTP95) or 
>> what? I have up to now been absolutely convinced that if I don't own 
>> a file, and it has r-x rights only, like the following
>> 
>> -r-xr-xr-t   1 root     other        101 Mar 17 13:16 svtest.txt
>> 
>> nobody but root could delete it.
>> 
>The right to delete a file depends on the prmissions of the directory, not
>the file! If you have write perms on a Directory, you may delete the file,
>even if you are not allowed to read id ( thats from the file permissions !
>)

On Unix systems setting the sticky-bit prevents anybody but the owner
of the file from deleting it.

Bill
--
INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Systems, Inc.
UUCP:               camco!bill  PO Box 820; 2835 82nd Avenue S.E. S-100
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Bagdikian's Observation:
	Trying to be a first-rate reporter on the average American
	newspaper is like trying to play Bach's "St. Matthew Passion"
	on a ukelele.

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 09:44:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA10657;
	Fri, 20 Mar 1998 09:44:35 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA19487;
	Fri, 20 Mar 1998 09:38:45 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA19043
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 09:35:17 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id HAA01425
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 07:35:13 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <H25DRNNQ>; Thu, 19 Mar 1998 16:55:54 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFB69@cnfvs008.cnf.com>
Date: Thu, 19 Mar 1998 16:55:52 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: "'koos@pizza.hvu.nl'" <koos@pizza.hvu.nl>
Cc: wu-ftpd@wugate.wustl.edu
Subject: RE: problem with guest users
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've tried this recomended advice, but to no avail!
Do you have any other advice?

> ----------
> From: 	Koos van den Hout _U nix and we
> all_[SMTP:koos@pizza.hvu.nl]
> Reply To: 	koos@pizza.hvu.nl
> Sent: 	Thursday, March 19, 1998 12:48 PM
> To: 	Speier.Guy@cnf.com
> Cc: 	wu-ftpd@wugate.wustl.edu
> Subject: 	Re: problem with guest users
> 
> Quoting Speier, Guy J - CNF, who wrote :
> 
> > 	ftp> ls   
> > 	425 Can't open passive connection: No such file or directory.
> 
> The chrooted environment for the guest users needs several device
> files.
> Look in the man page of the Solaris ftpd to see which (look for the
> files
> needed in the anonymous area).
> 
> > 	200 PORT command successful.
> > 	425 Can't create data socket (0.0.0.0,20): No such file or
> > directory.
> 
> This and others in the faq for wu-ftpd at
> 
> http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
> 
>                                                  Koos
> 
> -- 
> It'd be real easy to complete half the job of writing a M$ admin
> manual;
> just make all the odd-numbered steps "reboot the system".  Coming up
> with
> the even-numbered ones would be the only tedious part.
>                                              - Anthony DeBoer in a.s.r
> 

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 10:02:44 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA10870;
	Fri, 20 Mar 1998 10:02:43 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA21205;
	Fri, 20 Mar 1998 09:57:08 -0600 (CST)
Received: from Bahamut.dragonfire.net ([206.161.150.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA20808
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 09:52:31 -0600 (CST)
Received: (from achurch@localhost) by Bahamut.dragonfire.net (8.8.5/8.8.8) id KAA06666; Fri, 20 Mar 1998 10:52:24 -0500
Message-Id: <199803201552.KAA06666@Bahamut.dragonfire.net>
Date: Fri, 20 Mar 1998 10:52:20 EST
Reply-To: achurch@dragonfire.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: achurch@dragonfire.net (Andy Church)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Re: Undeletable - how?
X-Mailer: MMail v4.62
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>On Unix systems setting the sticky-bit prevents anybody but the owner
>of the file from deleting it.

     Looks like this behavior isn't standard:

crystal:/home/achurch> uname -a
Linux crystal 2.0.23 #84 Sun Nov 16 16:34:06 EST 1997 i586
crystal:/home/achurch> id
uid=501(achurch) gid=100(users) groups=100(users),4(adm),17(su),18(console)
crystal:/home/achurch> su -c 'touch test ; chmod 1555 test'
Password: 
crystal:/home/achurch> ls -l test
-r-xr-xr-t   1 root     root            0 Mar 20 10:47 test
crystal:/home/achurch> rm test
rm: remove `test', overriding mode 1555? y
crystal:/home/achurch> ls -l test
/bin/ls: test: No such file or directory

  --Andy Church                  | If Bell Atlantic really is the heart
    achurch@dragonfire.net       | of communication, then it desperately
    www.dragonfire.net/~achurch/ | needs a quadruple bypass.

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 10:15:18 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA10987;
	Fri, 20 Mar 1998 10:15:17 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA21984;
	Fri, 20 Mar 1998 10:10:11 -0600 (CST)
Received: from earth.astro.umd.edu (wls@earth.astro.umd.edu [129.2.163.100])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA22230
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 10:07:34 -0600 (CST)
Received: (wls@localhost) 
	by earth.astro.umd.edu (8.8.6/8.6.6mWLS)
	id LAA14157 for wu-ftpd@wugate.wustl.edu; Fri, 20 Mar 1998 11:07:29 -0500 (EST)
Message-Id: <199803201607.LAA14157@earth.astro.umd.edu>
Date: Fri, 20 Mar 1998 11:07:29 -0500 (EST)
Reply-To: wls@astro.umd.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: wls@astro.umd.edu (William L. Sebok)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Re: Undeletable - how?
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Someone said:
>On Unix systems setting the sticky-bit prevents anybody but the owner
>of the file from deleting it.
 
From: achurch@dragonfire.net (Andy Church)
>      Looks like this behavior isn't standard:

And then goes on to show that Linux 2.0.23 does not have this behavior.

I am not sure about all of the systems that implement the directory sticky bit
but I can vouch that SunOS 4.X and Solaris 2.X have this behavior.  It blocks
quite a number of security holes involving hijacking files in /tmp.

Bill Sebok      Computer Software Manager, Univ. of Maryland, Astronomy
	Internet: wls@astro.umd.edu	URL: http://www.astro.umd.edu/~wls/

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 10:16:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA11011;
	Fri, 20 Mar 1998 10:16:47 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA22438;
	Fri, 20 Mar 1998 10:09:35 -0600 (CST)
Received: from Bahamut.dragonfire.net ([206.161.150.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA22106
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 10:06:46 -0600 (CST)
Received: (from achurch@localhost) by Bahamut.dragonfire.net (8.8.5/8.8.8) id LAA08051; Fri, 20 Mar 1998 11:06:40 -0500
Message-Id: <199803201606.LAA08051@Bahamut.dragonfire.net>
Date: Fri, 20 Mar 1998 11:06:36 EST
Reply-To: achurch@dragonfire.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: achurch@dragonfire.net (Andy Church)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with ftphosts
X-Mailer: MMail v4.62
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>	Today I was  checking  the  functionality  of  ftphosts  file in
>	wu-ftpd-2.4.2-beta-15.  I  think  it   interprets   the   "deny"
>	directive  differently  than  what  it  actually  should  do.  I
>	specified following directive in the ftphosts file :
>
>	deny   root       some.host.name
>
>	But after  that any user  logging in as "root" is denied  access
>	irrespective  of the host from  where he has done ftp.  Actually
>	it   should   deny   access   only   to  the   "root"   user  of
>	"som.host.name".  Is this is a bug in code of  hostacc.c  file ?
>	Can anyone throw light on it ?

     There is indeed some suspicious-looking code in hostacc.c.  The
following patch is untested, but should correct the problem:

*** hostacc.c.old	Fri Mar 20 10:53:33 1998
--- hostacc.c	Fri Mar 20 11:05:20 1998
***************
*** 53,59 ****
          hacc_t  *ptHtmp;
          char    *pcHost;
          char    *ha_login;
!         int     iInd, iLineMatch = 0, iUserSeen = 0;
  
          switch(sethacc()){
          case 1:
--- 53,59 ----
          hacc_t  *ptHtmp;
          char    *pcHost;
          char    *ha_login;
!         int     iInd, iLineMatch = 0, iUserSeen = 0, iAllow = 1;
  
          switch(sethacc()){
          case 1:
***************
*** 85,93 ****
  
                  /*
                   * We have seen a line regarding the current user.
!                  * Remember this.
                   */
                  iUserSeen = 1;
  
                  for(iInd=0, pcHost=ptHtmp->ha_hosts[0];
                      ((pcHost != NULL) && !iLineMatch);
--- 85,95 ----
  
                  /*
                   * We have seen a line regarding the current user.
!                  * Remember this.  Also note whether this was an "allow" or
!                  * "deny" line.
                   */
                  iUserSeen = 1;
+                 iAllow = (ptHtmp->ha_type == ALLOW) ? 1 : 0;
  
                  for(iInd=0, pcHost=ptHtmp->ha_hosts[0];
                      ((pcHost != NULL) && !iLineMatch);
***************
*** 102,111 ****
                                  iLineMatch = !fnmatch(pcHost, pcRhost, NULL);
                          }
                          if (iLineMatch)
-                         {
-                                 iLineMatch = (ptHtmp->ha_type == ALLOW) ? 1 : 0;
                                  goto match;
-                         }
                  }
          }
  
--- 104,110 ----
***************
*** 123,130 ****
                  return(0);
          }
  
!         if (iUserSeen)
!                 return(ptHtmp == NULL) ? 0 : iLineMatch;
          else
                  /* Nothing at all about user in configfile, allow */
                  return(1);
--- 122,137 ----
                  return(0);
          }
  
!         if (iLineMatch)
!                 return iAllow;
!         else if (iUserSeen)
!                 /* The user was seen, but no hostnames matched.  If the
!                  * last line for this user was an "allow", deny access,
!                  * otherwise allow it.  What should the proper behavior be
!                  * in the presence of both "allow" and "deny" lines for the
!                  * same user?
!                  */
!                 return !iAllow;
          else
                  /* Nothing at all about user in configfile, allow */
                  return(1);

  --Andy Church                  | If Bell Atlantic really is the heart
    achurch@dragonfire.net       | of communication, then it desperately
    www.dragonfire.net/~achurch/ | needs a quadruple bypass.

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 10:28:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA11131;
	Fri, 20 Mar 1998 10:28:37 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA24216;
	Fri, 20 Mar 1998 10:23:10 -0600 (CST)
Received: from claret.psychology.mcmaster.ca (claret.psychology.McMaster.CA [130.113.218.34])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA23570
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 10:18:55 -0600 (CST)
Received: by claret.psychology.mcmaster.ca (951211.SGI.8.6.12.PATCH1502/951211.SGI)
	for wu-ftpd@wugate.wustl.edu id LAA11681; Fri, 20 Mar 1998 11:18:49 -0500
Message-Id: <199803201618.LAA11681@claret.psychology.mcmaster.ca>
Date: Fri, 20 Mar 1998 11:18:49 -0500
Reply-To: ajr@claret.psychology.mcmaster.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ajr@claret.psychology.mcmaster.ca (Alan J Rosenthal)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Re: Undeletable - how?
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>On Unix systems setting the sticky-bit prevents anybody but the owner
>of the file from deleting it.
[someone else]
>      Looks like this behavior isn't standard:
[someone else]
>I am not sure about all of the systems that implement the directory sticky bit

Wait.  The sticky bit on the DIRECTORY prevents anyone but the owner of a file
IN the directory from deleting it.  You don't sticky-bit the file, you
sticky-bit the directory.  And the owner of the directory can still delete all
the files in it.  And linux implements this too.  I think the BSD folks
invented it, but it's been around for a long time and nearly everyone does it
these days.

Do "man sticky" on Sun OS or Solaris for an explanation; most versions of unix
implement this behaviour even though most versions don't have "man sticky".
The name of the bit derives from its original Thompson-Ritchie purpose, which
was to mark a binary such that it would not be released from memory even when
the last process using it exited; most versions of unix no longer implement
THIS behaviour but the name of the bit persists.

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 10:30:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA11151;
	Fri, 20 Mar 1998 10:30:02 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA23976;
	Fri, 20 Mar 1998 10:22:28 -0600 (CST)
Received: from noc.uba.ar (noc.uba.ar [170.210.2.33])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA23281
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 10:16:09 -0600 (CST)
Received: by noc.uba.ar
	via sendmail with stdio
	id <m0yG4Sj-000rLQC@noc.uba.ar>
	for wu-ftpd@wugate.wustl.edu; Fri, 20 Mar 1998 13:16:05 -0300 (ARG)
	(Smail-3.2 1996-Jul-4 #2 built 1996-Aug-16)
Message-Id: <m0yG4Sj-000rLQC@noc.uba.ar>
Date: Fri, 20 Mar 1998 13:16:05 -0300 (ARG)
Reply-To: gaston@riu.edu.ar
Sender: owner-wu-ftpd@wugate.wustl.edu
From: gaston@riu.edu.ar (Gaston Franco)
To: wu-ftpd@wugate.wustl.edu
Subject: on the fly tar and compression
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi!

I'm running wu-ftpd version 2.4.2-Beta-16 in Solaris-2.5.1 .
and on the fly tar and compression don't work .
(on the fly compression work and on the fly tarring too).

I put the GNU-tar version 1.12 ; this work fine in a shell command
line, but no through ftp.

I put all the libraries necesaries in /ftp-home/usr/lib 
( ldd ./tar
	libsocket.so.1 =>	 /usr/lib/libsocket.so.1
	libnsl.so.1 =>	 /usr/lib/libnsl.so.1
	libc.so.1 =>	 /usr/lib/libc.so.1
	libdl.so.1 =>	 /usr/lib/libdl.so.1
	libintl.so.1 =>	 /usr/lib/libintl.so.1
	libmp.so.1 =>	 /usr/lib/libmp.so.1
	libw.so.1 =>	 /usr/lib/libw.so.1
)

the rules in my ftpconversion are
 :   : :.tar.Z:/bin/tar -cfZ  - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
 :   : :.tar.gz:/bin/tar -cfz - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP


Also, i prove with GNU-tar-1.18 package, with the same results.

Anybody can help me?

PD: sorry my english is poor.
-- 
                       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                            Gaston Franco (gaston@riu.edu.ar)

                            Red de Interconexion Universitaria 
                               Universidad de Buenos Aires
                       Tel.: (54-1) 511-1200; Fax: (54-1) 787-2656
                       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 10:47:53 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA11366;
	Fri, 20 Mar 1998 10:47:52 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA25976;
	Fri, 20 Mar 1998 10:41:24 -0600 (CST)
Received: from gwmail.oliverdesign.com (od_db1.oliverdesign.com [205.179.167.7])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA25478
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 10:36:23 -0600 (CST)
Received: from gw#u#od-Message_Server by gwmail.oliverdesign.com
	with Novell_GroupWise; Fri, 20 Mar 1998 08:34:54 -0800
Message-Id: <s5122a2e.008@gwmail.oliverdesign.com>
Date: Fri, 20 Mar 1998 08:34:39 -0800
Reply-To: TFox@gwmail.oliverdesign.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tom Fox" <TFox@gwmail.oliverdesign.com>
To: wu-ftpd@wugate.wustl.edu
Subject: remove
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Mailer: Novell GroupWise 5.2
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id KAA25500
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

** Reply Requested by 3/21/1998 (Saturday) **

unsubscribe me please!!!!! I've tried everything I keep getting list messages




Thomas B. Fox
System Administrator & Internet Services Manager
Oliver Design, Inc.
Scotts Valley, Ca 95066
Phone: (408) 438 0701 x 252     Fax: (408) 438-0588

Thomas B. Fox
System Administrator & Internet Services Manager
Oliver Design, Inc.
Scotts Valley, Ca 95066
Phone: (408) 438 0701 x 252     Fax: (408) 438-0588


From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 13:42:06 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id NAA13789;
	Fri, 20 Mar 1998 13:41:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA24395;
	Fri, 20 Mar 1998 13:33:06 -0600 (CST)
Received: from poster (poster.ptc.com [205.185.174.250])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA23409
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 13:26:51 -0600 (CST)
Received: from frenzy (frenzy.ptc.com) by poster (5.x/SMI-SVR4-NN)
	id AA14026; Fri, 20 Mar 1998 14:26:19 -0500
Received: from frenzy by frenzy (SMI-8.6/SMI-SVR4)
	id OAA05968; Fri, 20 Mar 1998 14:26:50 -0500
Message-Id: <3512C2F9.2B9E@ptc.com>
Date: Fri, 20 Mar 1998 14:26:49 -0500
Reply-To: idukhovich@ptc.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Igor Dukhovich <idukhovich@ptc.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Installation problem 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: idukhovich@ptc.com
X-Mailer: Mozilla 2.01 (X11; I; SunOS 5.6 sun4m)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi everybody.

Thanks for any response to this question:

We are trying to compile the wuftp version 2.4 beta 16 on Sun machine
with Solaris 2.6. I am running Sun SPARCcompiler C4.0 on ULTRA 2E.

I got error messages and failed to build the wuftp.
The following occurs after issuing "build sol"

..........
Making ftpd.
cc -g -I.. -I../support -L../support  -c  ftpd.c
"ftpd.c", line 3767: warning: const is a keyword in ANSI C
"ftpd.c", line 3767: syntax error before or at: const
"ftpd.c", line 3767: undefined or not a type: const
"ftpd.c", line 3767: cannot recover from previous errors
*** Error code 10
make: Fatal error: Command failed for target `ftpd.o'

Making ftpcount.
yacc  ftpcmd.y
mv y.tab.c ftpcmd.c
sh newvers.sh
cc -g -I.. -I../support -L../support  -c  vers.c
cc -g -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-lsupport -lsocket -lnsl -lgen 
ld: fatal: library -lgen: not found
ld: fatal: File processing errors. No output written to ftpcount
*** Error code 1
make: Fatal error: Command failed for target `ftpcount'

Making ftpshut.
cc -g -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
-lsupport -lsocket -lnsl -lgen
ld: fatal: library -lgen: not found
ld: fatal: File processing errors. No output written to ftpshut
*** Error code 1
make: Fatal error: Command failed for target `ftpshut'

Making ckconfig.
cc -g -I.. -I../support -L../support -o ckconfig ckconfig.c

Links to executables are in bin directory:
./build: size: not found
Done

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 19:28:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA16722;
	Fri, 20 Mar 1998 19:28:47 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA20286;
	Fri, 20 Mar 1998 19:23:18 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA22503
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 19:18:09 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id RAA15650
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 17:18:07 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <HK1QG7KW>; Fri, 20 Mar 1998 17:18:01 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFB70@cnfvs008.cnf.com>
Date: Fri, 20 Mar 1998 17:17:58 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: 550 can't set guest privledges
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

what file did I mess up to get this message?
It was working earlier, then I tinkered,
and it works no more :-( for this guestuser!

thanks
Guy




From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 20 23:30:30 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id XAA18273;
	Fri, 20 Mar 1998 23:30:29 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA00331;
	Fri, 20 Mar 1998 23:24:27 -0600 (CST)
Received: from tarkin.fdt.net (jlewis@tarkin.fdt.net [205.229.48.28])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA00791
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Mar 1998 23:22:48 -0600 (CST)
Received: from localhost (jlewis@localhost)
	by tarkin.fdt.net (8.8.5/8.8.5) with SMTP id AAA17107;
	Sat, 21 Mar 1998 00:21:56 -0500
Message-Id: <Pine.LNX.3.95.980321002124.1098I-100000@tarkin.fdt.net>
Date: Sat, 21 Mar 1998 00:21:56 -0500 (EST)
Reply-To: jlewis@inorganic5.fdt.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jon Lewis <jlewis@inorganic5.fdt.net>
To: Andy Church <achurch@dragonfire.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Re: Undeletable - how?
In-Reply-To: <199803201552.KAA06666@Bahamut.dragonfire.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: jlewis@tarkin.fdt.net
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 20 Mar 1998, Andy Church wrote:

> >On Unix systems setting the sticky-bit prevents anybody but the owner
> >of the file from deleting it.
> 
>      Looks like this behavior isn't standard:
> 
> crystal:/home/achurch> uname -a
> Linux crystal 2.0.23 #84 Sun Nov 16 16:34:06 EST 1997 i586
> crystal:/home/achurch> id
> uid=501(achurch) gid=100(users) groups=100(users),4(adm),17(su),18(console)
> crystal:/home/achurch> su -c 'touch test ; chmod 1555 test'
> Password: 
> crystal:/home/achurch> ls -l test
> -r-xr-xr-t   1 root     root            0 Mar 20 10:47 test
> crystal:/home/achurch> rm test
> rm: remove `test', overriding mode 1555? y

You didn't write to test...you wrote to your home directory.


------------------------------------------------------------------
 Jon Lewis <jlewis@fdt.net>  |  Unsolicited commercial e-mail will
 Network Administrator       |  be proof-read for $199/message.
 Florida Digital Turnpike    |  
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____


From owner-wu-ftpd@wugate.wustl.edu  Sat Mar 21 06:12:57 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id GAA01386;
	Sat, 21 Mar 1998 06:12:56 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA20609;
	Sat, 21 Mar 1998 06:06:56 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id GAA20850
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Mar 1998 06:06:12 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id EAA07733;
	Sat, 21 Mar 1998 04:06:07 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA296063797; Sat, 21 Mar 1998 17:36:37 +0500
Message-Id: <199803211206.EAA07733@palrel1.hp.com>
Date: Sat, 21 Mar 1998 17:36:37 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: achurch@dragonfire.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with ftphosts
In-Reply-To: <199803201606.LAA08051@Bahamut.dragonfire.net> from Andy Church at Mar "20," 1998 "11:06:36" am
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello Andy,

	Thank  you  very  much for your  patch.  I will  apply  it on my
	hostacc.c file.

Best Regards,
Harshal

> >	Today I was  checking  the  functionality  of  ftphosts  file in
> >	wu-ftpd-2.4.2-beta-15.  I  think  it   interprets   the   "deny"
> >	directive  differently  than  what  it  actually  should  do.  I
> >	specified following directive in the ftphosts file :
> >
> >	deny   root       some.host.name
> >
> >	But after  that any user  logging in as "root" is denied  access
> >	irrespective  of the host from  where he has done ftp.  Actually
> >	it   should   deny   access   only   to  the   "root"   user  of
> >	"som.host.name".  Is this is a bug in code of  hostacc.c  file ?
> >	Can anyone throw light on it ?
> 
>      There is indeed some suspicious-looking code in hostacc.c.  The
> following patch is untested, but should correct the problem:
> 
> *** hostacc.c.old	Fri Mar 20 10:53:33 1998
> --- hostacc.c	Fri Mar 20 11:05:20 1998
> ***************
> *** 53,59 ****
>           hacc_t  *ptHtmp;
>           char    *pcHost;
>           char    *ha_login;
> !         int     iInd, iLineMatch = 0, iUserSeen = 0;
>   
>           switch(sethacc()){
>           case 1:
> --- 53,59 ----
>           hacc_t  *ptHtmp;
>           char    *pcHost;
>           char    *ha_login;
> !         int     iInd, iLineMatch = 0, iUserSeen = 0, iAllow = 1;
>   
>           switch(sethacc()){
>           case 1:
> ***************
> *** 85,93 ****
>   
>                   /*
>                    * We have seen a line regarding the current user.
> !                  * Remember this.
>                    */
>                   iUserSeen = 1;
>   
>                   for(iInd=0, pcHost=ptHtmp->ha_hosts[0];
>                       ((pcHost != NULL) && !iLineMatch);
> --- 85,95 ----
>   
>                   /*
>                    * We have seen a line regarding the current user.
> !                  * Remember this.  Also note whether this was an "allow" or
> !                  * "deny" line.
>                    */
>                   iUserSeen = 1;
> +                 iAllow = (ptHtmp->ha_type == ALLOW) ? 1 : 0;
>   
>                   for(iInd=0, pcHost=ptHtmp->ha_hosts[0];
>                       ((pcHost != NULL) && !iLineMatch);
> ***************
> *** 102,111 ****
>                                   iLineMatch = !fnmatch(pcHost, pcRhost, NULL);
>                           }
>                           if (iLineMatch)
> -                         {
> -                                 iLineMatch = (ptHtmp->ha_type == ALLOW) ? 1 : 0;
>                                   goto match;
> -                         }
>                   }
>           }
>   
> --- 104,110 ----
> ***************
> *** 123,130 ****
>                   return(0);
>           }
>   
> !         if (iUserSeen)
> !                 return(ptHtmp == NULL) ? 0 : iLineMatch;
>           else
>                   /* Nothing at all about user in configfile, allow */
>                   return(1);
> --- 122,137 ----
>                   return(0);
>           }
>   
> !         if (iLineMatch)
> !                 return iAllow;
> !         else if (iUserSeen)
> !                 /* The user was seen, but no hostnames matched.  If the
> !                  * last line for this user was an "allow", deny access,
> !                  * otherwise allow it.  What should the proper behavior be
> !                  * in the presence of both "allow" and "deny" lines for the
> !                  * same user?
> !                  */
> !                 return !iAllow;
>           else
>                   /* Nothing at all about user in configfile, allow */
>                   return(1);
> 
>   --Andy Church                  | If Bell Atlantic really is the heart
>     achurch@dragonfire.net       | of communication, then it desperately
>     www.dragonfire.net/~achurch/ | needs a quadruple bypass.
> 


-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Sat Mar 21 08:16:12 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA02171;
	Sat, 21 Mar 1998 08:16:11 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA25515;
	Sat, 21 Mar 1998 08:11:50 -0600 (CST)
Received: from Bahamut.dragonfire.net ([206.161.150.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA24198
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Mar 1998 08:03:51 -0600 (CST)
Received: (from achurch@localhost) by Bahamut.dragonfire.net (8.8.5/8.8.8) id JAA10373; Sat, 21 Mar 1998 09:03:45 -0500
Message-Id: <199803211403.JAA10373@Bahamut.dragonfire.net>
Date: Sat, 21 Mar 1998 09:03:44 EST
Reply-To: achurch@dragonfire.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: achurch@dragonfire.net (Andy Church)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Re: Undeletable - how?
X-Mailer: MMail v4.62
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>> >On Unix systems setting the sticky-bit prevents anybody but the owner
>> >of the file from deleting it.
>> 
>>      Looks like this behavior isn't standard:
[example of deleting a file with sticky bit set]
>You didn't write to test...you wrote to your home directory.

     Yes, I'm well aware of that.  The original claim was either incorrect
or not clearly worded, and I (possibly mis-) understood it to be referring
to sticky bits on files.

  --Andy Church                  | If Bell Atlantic really is the heart
    achurch@dragonfire.net       | of communication, then it desperately
    www.dragonfire.net/~achurch/ | needs a quadruple bypass.

From owner-wu-ftpd@wugate.wustl.edu  Sat Mar 21 12:46:54 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id MAA03759;
	Sat, 21 Mar 1998 12:46:52 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA05127;
	Sat, 21 Mar 1998 12:42:16 -0600 (CST)
Received: from nomina.lu.se (nomina.lu.se [130.235.132.90])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA02074
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Mar 1998 12:37:03 -0600 (CST)
Received: from lu-dal2.ling.lu.se by nomina.lu.se with SMTP
	(5.65/IDA-1.2.8) id AA26928; Sat, 21 Mar 98 19:39:26 +0100
Received: from LU-DAL2/SpoolDir by lu-dal2.dal.lu.se (Mercury 1.21);    21 Mar 98 19:42:54 +0100
Received: from SpoolDir by LU-DAL2 (Mercury 1.21); 21 Mar 98 19:42:36 +0100
Message-Id: <35D00A6FC6@lu-dal2.dal.lu.se>
Date: Sat, 21 Mar 1998 19:42:25 GMT+200
Reply-To: Stig.Isaksson@dal.lu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stig Isaksson" <Stig.Isaksson@dal.lu.se>
To: Speier.Guy@cnf.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: problem with guest users (Rrrr)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi out there,

On Fri, 20 Mar 1998 09:42:24 GMT+200 I wrote:
> Don't put too much confidence in this reply (because I'm a novice
> still), but (most of) this behaviour is what usually occurs when the
> access permissions to ~/<someguest>/etc/dev/tcp are not at least 666.

but nobody seemed to take any notice. So:

>Verbose mode on

What I mean is:

1. If you use passive ftp or not depends on how you configure your
client (and as far as I know this mode is the only way to connect to
ftp servers from Netscape for instance - at least it is default
there). So one remedy could be to untick passive mode in your client.

2. *If* your client uses passive mode the guest account on the server
must have access perms >=666 for the file ~/etc/dev/tcp - if not you
get the described behaviour (on Solaris systems at least). So chmod
666 tcp issued in the ~/etc/dev directory should help. I had exactly
the described experience until I changed the perms like that.

3. All this seems to pertain only to Solaris, according to Koos van
den Hout's FAQ no. 13, so if yours is some other system I don't know
...

4. If in any way I misunderstood the conditions and am talking through
my hat here, you must try to excuse me - it's easy to use the recycle
bin form this msg - but in any case I'm extremely curious to know if
my solution was correct or not.

Best Regards,
Stig
------------------------------------------------------------
Stig Isaksson
Dialekt- och ortnamnsarkivet
Helgonabacken 14
S-223 62 LUND
S W E D E N
tel.: +46 46 222 74 68   fax: +46 46 15 23 81
e-mail: Stig.Isaksson@DAL.lu.se
http://www.dal.lu.se/

<Forstaor MIME    Understands MIME>
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Sat Mar 21 14:03:03 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA04158;
	Sat, 21 Mar 1998 14:03:02 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA08956;
	Sat, 21 Mar 1998 13:57:16 -0600 (CST)
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA08627
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Mar 1998 13:52:43 -0600 (CST)
Received: (from koos@localhost) by pizza.hvu.nl (8.8.6/KH19970721 (dbm++)) id UAA02415; Sat, 21 Mar 1998 20:52:32 +0100 (MET)
Message-Id: <199803211952.UAA02415@pizza.hvu.nl>
Date: Sat, 21 Mar 1998 20:52:32 +0100 (MET)
Reply-To: koos@pizza.hvu.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Koos van den Hout _U nix and we all_ <koos@pizza.hvu.nl>
To: Speier.Guy@cnf.com (Speier, Guy J - CNF)
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: problem with guest users
In-Reply-To: <6985723206B8D011BA180000F8043BDC03FBFB69@cnfvs008.cnf.com> from "Speier, Guy J - CNF" at "Mar 19, 98 04:55:52 pm"
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Files: the truth is out there
X-I-Am-Not-Simes: There is only one Simes
X-Mailer: ELM [version 2.4ME+ PL31H (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Quoting Speier, Guy J - CNF, who wrote :

> I've tried this recomended advice, but to no avail!
> Do you have any other advice?

Next step is attaching with truss or gdb to see which open fails with no
such file or directory. Look in the man pages for truss and/or gdb.

And start looking where in the code passive connections are opened and
how.

> > > 	ftp> ls   
> > > 	425 Can't open passive connection: No such file or directory.

> > > 	200 PORT command successful.
> > > 	425 Can't create data socket (0.0.0.0,20): No such file or
> > > directory.

This error has it's own special chapter in the wu-ftpd-faq.

                                       Koos

-- 
It'd be real easy to complete half the job of writing a M$ admin manual;
just make all the odd-numbered steps "reboot the system".  Coming up with
the even-numbered ones would be the only tedious part.
                                             - Anthony DeBoer in a.s.r

From owner-wu-ftpd@wugate.wustl.edu  Sat Mar 21 18:25:06 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA05972;
	Sat, 21 Mar 1998 18:25:05 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA19774;
	Sat, 21 Mar 1998 18:19:25 -0600 (CST)
Received: from umr.edu (hermes.cc.umr.edu [131.151.1.68])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA19378
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Mar 1998 18:14:52 -0600 (CST)
Received: from infinity.cc.umr.edu (infinity.cc.umr.edu [131.151.37.9]) via ESMTP by hermes.cc.umr.edu (8.8.7/R.4.20) id SAA20325; Sat, 21 Mar 1998 18:14:51 -0600 (CST)
Received: from (nneul@localhost) by infinity.cc.umr.edu (8.8.7/M.4.00) id SAA18295; Sat, 21 Mar 1998 18:14:50 -0600
Message-Id: <19980321181450.A18198@umr.edu>
Date: Sat, 21 Mar 1998 18:14:50 -0600
Reply-To: nneul@umr.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Nathan Neulinger <nneul@umr.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Patch for full Kerberos 5 support
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.90.8i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have put together a patch that adds full Kerberos 5 support to 
wuftpd 2.4.2 beta 16. 

This not only adds support for verifying passwords via kerberos 5, but it 
also adds support for GSSAPI authenticated/encrypted connections - which 
allows full use of the kerberos ftp client functionality.

I know the statement that has been made in the past about 'new features', 
but this does add considerable functionality for sites using kerberos 5, 
functionality that would otherwise be seriously lacking and prevent use 
of wuftpd. At least give some though to adding this support since it will 
greatly benefit anyone using krb5.

The patch is at:

	http://www.umr.edu/~nneul/krb5/patch.wuftpd.242b16

The support that the patch adds can be almost entirely shut off by the 
presence of the KRB5 define. The functionality that is not disabled is 
the presence of a couple additional commands in the parser, however they 
won't do anything unless KRB5 is defined.

The patch only modifies the linux Makefile, but the change in the 
Makefile is simple enough to apply to any of the other architectures.

For those of you using AFS w/ krb5, I will probably be adapting Ken
Hornstein's patches for the kerberos ftpd to this one soon (support for
aklog, app-defaults.)

BTW - Anyone with krb5 experience - please take a look at this, it's 
possible I may have missed something. It's based heavily on the MIT code. 
Please try it out and see if it works ok for you. It seems to work pretty 
well for me.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216

From owner-wu-ftpd@wugate.wustl.edu  Sun Mar 22 12:58:13 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id MAA24137;
	Sun, 22 Mar 1998 12:58:11 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA01701;
	Sun, 22 Mar 1998 12:53:41 -0600 (CST)
Received: from post.mail.demon.net (post-10.mail.demon.net [193.195.0.154])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA01871
	for <wu-ftpd@wugate.wustl.edu>; Sun, 22 Mar 1998 12:45:31 -0600 (CST)
Received: from wreck.demon.co.uk ([158.152.128.78]) by post.mail.demon.net
           id aa1005281; 22 Mar 98 18:31 GMT
Message-Id: <890591511.105281.0@wreck.demon.co.uk>
Date: Mon, 16 Mar 1998 13:19:07 -0000
Reply-To: robert@wreck.demon.co.uk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Whitehouse <robert@wreck.demon.co.uk>
To: marc@destek.net, wu-ftpd@wugate.wustl.edu
Subject: Re: 2.4.2b16 on DEC Unix (3.0, 3.2C, and 4.0D)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1161
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Marc,

I am running beta16 on DEC Unix (3.0b) without problem. But I am not doing
anonymous FTP, I use real and guest accounts only.

1. I have not tried to modify UID/GID, so do not know if I have same
behaviour.

2. I have not seen this, I can store/retrieve many files in one session
without problem

Bob W
----------
> From: Marc Evans <marc@destek.net>
> To: wu-ftpd@wugate.wustl.edu
> Subject: 2.4.2b16 on DEC Unix (3.0, 3.2C, and 4.0D)
> Date: Saturday, March 14, 1998 10:18
> 
> Hi -
> 
> I have been trying to get wu-ftpd version 2.4.2-beta16 working on DEC
Unix.
> I have access to 3 versions, all of which exhibit the problems I describe
> below.
> 
> Problem 1 is that as hard as I try I can not seem to get uploaded files
> (from the anonymous user) to have the desired UID/GID from the ftpaccess
> configuration file. The UID ftp is always used.
> 
> Problem 2 is that after any 1 upload or download, the connection is
ALWAYS
> closed, requiring the user to log back in. This is not true for any
commands
> that do not result in a file transfer. I should note that mget/mput has
> the same results, which are quite unpleasent.
> 
> Is anyone else seeing these problems? Does anyone have modified code that
> addresses these problems that I could just use, or shall I begin the
process
> of debugging the root of these problems?
> 
> Thanks in advance - Marc
>
============================================================================
===
> Marc Evans                            WB1GRH      The Destek Networking
Group
> E-Mail: Marc@Destek.NET                           One Indian Head Plaza
> URL: http://WWW.Destek.NET/~marc                  Nashua, NH, USA 03060
> MIME-1.0 & Enriched-Text mail accepted            603 594 9630 (V) 598
8864 (F)
> PGP-2.6 key available upon request                WAN & Internet Services
> PGP-2.6 Fingerprint:  20 7C A2 DB 17 B2 21 80  47 AA B9 CD D9 DE 31 CC
>        The XFree86[tm] Project, Inc. Industry Liason <Marc@XFree86.Org>
>
============================================================================
===


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 23 01:57:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id BAA01264;
	Mon, 23 Mar 1998 01:57:26 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA07774;
	Mon, 23 Mar 1998 01:52:29 -0600 (CST)
Received: from mailbox.sic.se (mailbox.sic.se [193.220.77.100])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id BAA06054
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 01:51:06 -0600 (CST)
Received: from pamela.sic.se (pamela.sic.se [10.1.1.44]) by mailbox.sic.se (8.8.8/8.7.2) with SMTP id IAA01381 for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 08:51:05 +0100 (MET)
Message-Id: <9803230851.AA37199@pamela.sic.se>
Date: Mon, 23 Mar 1998 08:51:37 +0100
Reply-To: s93sbe@csd.uu.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stefan Berg" <s93sbe@csd.uu.se>
To: wu-ftpd@wugate.wustl.edu
Subject: STILL exiting on signal 11
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.2 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi,

just had the exact same problem. Solaris 2.5.1 with Beta 16 - and
yes, the workaround did work - until I was about to login!

Now, I reach the login prompt, but get the exit signal 11 when I
type my username (which works, I'm sure).

Any ideas?

/Stefan

>  
> > I run Solaris 2.5.1 
>  
> > /etc/inted.conf - thus: 
> > ftp stream tcp nowait root /disk2/usr/sbin/in.ftpd in.ftpd -laio 
>  
> > Mar  3 14:32:44 grimnir.dal.lu.se ftpd[2958]: exiting on signal 11 
>  
> See http://www.landfield.com/wu-ftpd/mail-archive/1997/Dec/0235.html, 
> it's a known bug in beta-16. 
>  
> As a workaround you can give options like this: '...in.ftpd in.ftpd -l -
> a -i -o ' 
>  
> Regards, 
>  
> Josef Siemes, 
> u1377@bwl.uni-kiel.de 
>  


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 23 05:47:05 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA11494;
	Mon, 23 Mar 1998 05:47:04 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA13685;
	Mon, 23 Mar 1998 05:43:03 -0600 (CST)
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA14001
	for <wu-ftpd@mail.wustl.edu>; Mon, 23 Mar 1998 05:39:56 -0600 (CST)
Received: from mgate2.nstn.ca by wunet.wustl.edu (PMDF V4.3-10 #26974)
 id <01IUZTGQYJZK000YZZ@wunet.wustl.edu>; Mon, 23 Mar 1998 05:35:25 -0500 (CDT)
Received: from mgate1.nstn.ca [192.75.1.34] by mgate2.nstn.ca with smtp
 (Exim 1.80 #3) id 0yH5eV-0002Zy-00; Mon, 23 Mar 1998 07:44:27 -0400
Received: from wolverine.nstn.ca (wolverine) [192.75.1.101] by mgate1.nstn.ca
 with smtp (Exim 1.82 #1) id 0yH5a7-0004wr-00; Mon, 23 Mar 1998 07:39:55 -0400
Message-Id: <E0yH5a7-0004wr-00@mgate1.nstn.ca>
Date: Mon, 23 Mar 1998 07:39:50 -0400
Reply-To: stephen.nurse@atl.sofkin.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Stephen Nurse <stephen.nurse@atl.sofkin.ca>
To: wu-ftpd@wunet.wustl.edu
Subject: Subscribe wu-ftp
MIME-version: 1.0
Content-type: text/plain; charset="iso-8859-1"
Content-transfer-encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 23 08:28:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA14310;
	Mon, 23 Mar 1998 08:28:29 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA22106;
	Mon, 23 Mar 1998 08:23:22 -0600 (CST)
Received: from genesis.truepath.com (root@genesis.truepath.com [209.75.119.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA22029
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 08:18:42 -0600 (CST)
Received: from gil-s-pc (sc7-13-181.thegrid.net [209.162.13.181]) by genesis.truepath.com (8.8.7/8.6.9) with SMTP id GAA08506 for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 06:18:52 -0800
Message-Id: <199803230615490380.00302267@mail.truepath.com>
Date: Mon, 23 Mar 1998 06:15:49 -0800
Reply-To: gil@truepath.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "gil vidals" <gil@truepath.com>
To: wu-ftpd@wugate.wustl.edu
Subject: database versions of etc/passwd compatible with wu-ftpd
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Mailer: Calypso Evaluation Version 2.40.40
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id IAA21458
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

We are hoping to convert our etc/passwd file on our linux server to a database version. As the number of users exceeds 5,000 we no longer feel that the flat file passwd file is adequate.

Can anyone recommend a database password format that is completely compatible with wu-ftpd? If anyone is currently, using a database passwd file with wu-ftpd, I'd love to hear from you.

Thanks,
Gil

http://www.truepath.com
<<the cool site for Christians>>
FREE homepages for Christians


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 23 09:28:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA15048;
	Mon, 23 Mar 1998 09:27:50 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA27441;
	Mon, 23 Mar 1998 09:21:18 -0600 (CST)
Received: from valkyrie.pwc.ca (valkyrie.PWC.CA [204.101.192.185])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA26391
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 09:14:35 -0600 (CST)
Message-Id: <199803231514.JAA26391@wugate.wustl.edu>
Date: Mon, 23 Mar 1998 10:11:27 -0500
Reply-To: Pierre.Laplante@pwc.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pierre Laplante <Pierre.Laplante@pwc.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Guestgroup and Hp-UX 10.20
MIME-version: 1.0
Content-type: MULTIPART/MIXED; BOUNDARY="Boundary_(ID_o7X7NLClLzJUNHXSNnBUQA)"
X-Mailer: Mozilla 4.04 [en] (WinNT; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.

--Boundary_(ID_o7X7NLClLzJUNHXSNnBUQA)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit

I am using BETA16 on a HP-UX 10.20 box.

I have setup a guestgroup .

I would like those users to be able to do a long listing of their
directories.

Right now, no output is done except from a solaris box with ls which
give a short listing.

Any idea.

thanks.

--Boundary_(ID_o7X7NLClLzJUNHXSNnBUQA)
Content-type: text/x-vcard; name=vcard.vcf; charset=us-ascii
Content-description: Card for Laplante, Pierre
Content-disposition: attachment; filename=vcard.vcf
Content-transfer-encoding: 7bit

begin:          vcard
fn:             Pierre Laplante
n:              Laplante;Pierre
org:            Pratt&Whitney Canada
adr:            1000 Marie-Victorin;;;Longueuil;Québec;J4G-1A1;Canada
email;internet: pierre.laplante@pwc.ca
title:          Analyste
tel;work:       514-647-7801
tel;fax:        514-647-3855
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
version:        2.1
end:            vcard


--Boundary_(ID_o7X7NLClLzJUNHXSNnBUQA)--

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 23 10:28:50 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA15806;
	Mon, 23 Mar 1998 10:28:50 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA32042;
	Mon, 23 Mar 1998 10:18:22 -0600 (CST)
Received: from rehost.com (root@hawk.rehost.com [199.97.122.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA31805
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 10:16:24 -0600 (CST)
Received: from hawk.rehost.com (bret@hawk.rehost.com [199.97.122.2])
	by rehost.com (8.8.8/8.8.8) with SMTP id KAA00873
	for wu-ftpd@wugate.wustl.edu; Mon, 23 Mar 1998 10:34:50 -0500
Message-Id: <199803231534.KAA00873@rehost.com>
Date: Mon, 23 Mar 1998 10:34:50 -0500
Reply-To: bret@rehost.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bret McDanel <bret@rehost.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Re: Undeletable - how?
In-Reply-To: <Pine.LNX.3.95.980321002124.1098I-100000@tarkin.fdt.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: XCmail 0.11.7 - with PGP support, PGP engine version 0.4
X-Mailerorigin: http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id KAA31749
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Since there seems to be some confusion about this, I will attempt to
clarify :)

The sticky bit means different things, depending if its a file or a
directory..  On a binary executable, it means keep the program in memory
after people have quit, and on BSD (pre 4.4, maybe pre 4.3) systems, it
means to share the same code section with all people using the program.. 
This can save memory beucase if 2 people execute the same program at the
same time, they share some memory (the data section is seperate for each
invocation)..  On sysVr4 and BSD 4.4 (maybe BSD 4.3, unsure) systems they
automagically share the code section anyway..

The sticky bit on a directory means that no one but the owner (or root) can
delete the file..  This is why /tmp is typically mode 1777..  So anyone can
write to it, but you can only delete your own stuff (unless the file itself
is writable to you)..



---Reply on mail from Jon Lewis about wu-ftpd: Re: Undeletable - how?

> On Fri, 20 Mar 1998, Andy Church wrote:
> 
>> >On Unix systems setting the sticky-bit prevents anybody but the owner
>> >of the file from deleting it.
>> 
>>      Looks like this behavior isn't standard:
>> 
>> crystal:/home/achurch> uname -a
>> Linux crystal 2.0.23 #84 Sun Nov 16 16:34:06 EST 1997 i586
>> crystal:/home/achurch> id
>> uidP1(achurch) gid0(users) groups0(users),4(adm),17(su),18(console)
>> crystal:/home/achurch> su -c 'touch test ; chmod 1555 test'
>> Password: 
>> crystal:/home/achurch> ls -l test
>> -r-xr-xr-t   1 root     root            0 Mar 20 10:47 test
>> crystal:/home/achurch> rm test
>> rm: remove `test', overriding mode 1555? y
> 
> You didn't write to test...you wrote to your home directory.
---End reply
-- 
Bret McDanel                                    http://www.rehost.com
Realistic Technologies, Inc.                             973-514-1144

     These opinions are mine, and may not be the same as my employer



From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 23 14:38:44 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA18276;
	Mon, 23 Mar 1998 14:38:43 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA18359;
	Mon, 23 Mar 1998 14:27:58 -0600 (CST)
Received: from K3.peakpeak.com (root@dns1.peakpeak.com [207.174.103.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA18095
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 14:24:57 -0600 (CST)
Received: from [199.165.157.57] (lovetown.oneup.com [199.165.157.57])
	by K3.peakpeak.com (8.8.5/8.8.5) with ESMTP id NAA19790
	for <wu-ftpd@mail.wustl.edu>; Mon, 23 Mar 1998 13:24:49 -0700
Message-Id: <v0313034bb13c74ed55c1@[199.165.157.57]>
Date: Mon, 23 Mar 1998 13:24:37 -0700
Reply-To: chrism@peakpeak.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Chris J. Magnuson" <chrism@peakpeak.com>
To: wu-ftpd@wugate.wustl.edu
Subject: keeping people from doing cd ..
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Anyone know how to restrict someone from ftping in to their account, then
doing a cd .. to go up a level?

This must be covered somewhere, but I'm at a loss to find the FAQ at the
moment.

Thanks,
Chris



From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 23 16:32:28 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA19558;
	Mon, 23 Mar 1998 16:32:11 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA28244;
	Mon, 23 Mar 1998 16:22:43 -0600 (CST)
Received: from K3.peakpeak.com (root@dns1.peakpeak.com [207.174.103.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA27602
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 16:20:18 -0600 (CST)
Received: from [199.165.157.57] (lovetown.oneup.com [199.165.157.57])
	by K3.peakpeak.com (8.8.5/8.8.5) with ESMTP id PAA26218
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 15:20:15 -0700
Message-Id: <v03130355b13c8f3a858f@[199.165.157.57]>
Date: Mon, 23 Mar 1998 15:17:42 -0700
Reply-To: chrism@peakpeak.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Chris J. Magnuson" <chrism@peakpeak.com>
To: wu-ftpd@wugate.wustl.edu
Subject: beta 16 build errors/warnings on RedHat 5.0
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I got an error during the link of of ftpd, I must be missing some
command-lin library?  I did a ./build lnx to start this.

gcc -O6 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support
-L../
support -s -o ftpd ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o
exte
nsions.o realpath.o acl.o private.o authenticate.o conversions.o hostacc.o
sigfi
x.o -lsupport
ftpd.o: In function `pass':
ftpd.o(.text+0x156e): undefined reference to `crypt'
private.o: In function `priv_gpass':
private.o(.text+0x385): undefined reference to `crypt'
make: *** [ftpd] Error 1

I also got build warnings when trying to compile on Linux 5.0, is this
normal? There are others, just thought I'd mention these for now (these
same ones occur multiple times).

Making ftpshut.
gcc -O6 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support
-L../
support -s -o ftpshut ftpshut.c vers.o -lsupport
In file included from ftpshut.c:48:
/usr/include/sys/param.h:29: warning: `NBBY' redefined
config.h:13: warning: this is the location of the previous definition
/usr/include/sys/param.h:35: warning: `NCARGS' redefined
config.h:49: warning: this is the location of the previous definition

Thanks,
Chris



From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 24 00:36:05 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id AAA24623;
	Tue, 24 Mar 1998 00:36:04 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA23848;
	Tue, 24 Mar 1998 00:28:02 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA24101
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Mar 1998 00:24:05 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id WAA11448
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Mar 1998 22:23:59 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA016982464; Tue, 24 Mar 1998 11:54:24 +0500
Message-Id: <199803240623.WAA11448@palrel1.hp.com>
Date: Tue, 24 Mar 1998 11:54:24 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Cc: harshalj@india.hp.com (Harshal Savalia)
Subject: Problem with command line options
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

	I think there is a problem with the  "-L","-i"  and "-o" options
	used in the command line options of ftpd.

	I have  started my ftpd daemon with the "-L" option.  I have not
	included "log commands" directive in my ftpaccess file.  Now man
	page for ftpd says as follow :

	If the -L option  is  specified,  commands  sent to the  ftpd(8)
	     server  will be  logged to the  syslog.  The -L  option  is
	     over-ridden  by the  ftpaccess(5)  file.  If the -L flag is
	     used, command  logging will be on by default as soon as the
	     ftp  server is  invoked.  This will cause the server to log
	     all USER commands,  which if a user  accidentally  enters a
	     password for that  command  instead of the  username,  will
	     cause passwords to be logged via syslog.

	So according to man page it should log all USER commands.  But I
	noticed that until you include "log  commands"  directive in the
	ftpaccess file it won't log the information.

	In the file access.c the function acl_setfunctions() initializes
	log_commands  variable  to zero.  I think this is the cause that
	suppresses the effect of "-L" command line option.

	Similar things  happened when I started ftpd daemon with command
	line  options  "-i" and "-o".  It is not logging  file  transfer
	information  in xferlog  file until you include "log  transfers"
	directive in the ftpaccess file.

	It can happen  that I have  interpreted  the thing  incorrectly.
	Can any one throw light on this matter.

	Thanks in advance.

Regards,
Harshal


-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
Hewlett Packard - ISO				Phone : (91)(80)2251554 x 1424
30C, Cunningham Road				Fax   : (91)(80)2200196
Bangalore 560 052				Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 24 04:38:49 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id EAA06448
	for <wuftpd@landfield.com>; Tue, 24 Mar 1998 04:38:48 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA30823;
	Tue, 24 Mar 1998 04:31:41 -0600 (CST)
Received: from ns.iway.nl (ns.iway.nl [193.78.30.4])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id EAA28360
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Mar 1998 04:25:04 -0600 (CST)
Received: (from root@localhost) by ns.iway.nl (8.7.1/8.6.12) id MAA00663 for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Mar 1998 12:46:22 +0100 (MET)
Received: from i-mail.iway.nl(172.16.1.4) by ns.iway.nl via smap (V1.3)
	id sma000584; Tue, 24 Mar 98 12:46:21 +0100
Received: from iway.nl ([172.16.1.40]) by i-mail.iway.nl
          (Netscape Mail Server v1.1) with ESMTP id AAA7903
          for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Mar 1998 11:24:36 +0200
Message-Id: <35176C78.B469A68C@iway.nl>
Date: Tue, 24 Mar 1998 09:19:04 +0100
Reply-To: simon@iway.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Simon Convey" <simon@iway.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: Compiling with -static......
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear wu users,
    I've finally finished my modifications to wu-ftpd to authenticate
via authsrv, ( thanks to 'a kind frenchman' , I left his mail on another
machine..Ooops. for sending some Authsrv diffs ) and do some 'other
interesting things.....' Now I need to compile static so that I have
much less hassle in running chroot. ( All the accounts, guest or
otherwise get chrooted to their respective directories, even after inet
chroot the ftpd to a secure area in the first place ! )
    O.K. If I compile using -static, I get symbols not found namely.....

Undefined                       first referenced
 symbol                             in file
dlclose                             /usr/lib/libnsl.a(netdir.o)
dlsym                               /usr/lib/libnsl.a(netdir.o)
dlopen                              /usr/lib/libnsl.a(netdir.o)
dlerror                             /usr/lib/libnsl.a(netdir.o)

These ( I think ) are functions which open and close shared
objects.....hmm but I'm asking for a static binary...?
Here is the top of my Makefile, I'm compiling for Solaris 2.6 using gcc
2.7.2.3

CC       = gcc
IFLAGS   = -I.. -I../support
LFLAGS   = -L../support
CFLAGS   = -g ${IFLAGS} ${LFLAGS} -static
LIBES    = -lsupport -lsocket -lgen -lauth -lfwall -lnsl
LIBC     = /lib/libc.a
LDFLAGS  = -static
LINTFLAGS=
#LKERB    = -lauth -lckrb -lkrb -ldes
MKDEP    = makedepend

I've asked for static in CFLAGS and LDFLAGS.....
Any ideas ?

Kind Regards,
Simon Convey.


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 24 05:14:54 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA06708
	for <wuftpd@landfield.com>; Tue, 24 Mar 1998 05:14:40 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA31993;
	Tue, 24 Mar 1998 05:10:08 -0600 (CST)
Received: from legolas.mdh.se (root@legolas.mdh.se [130.238.251.203])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA31912
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Mar 1998 05:07:04 -0600 (CST)
Received: from legolas.mdh.se (cel95eig@legolas.mdh.se [130.238.251.203])
	by legolas.mdh.se (8.8.7/8.8.7) with SMTP id MAA16720;
	Tue, 24 Mar 1998 12:06:45 +0100 (MET)
Message-Id: <Pine.GSO.3.95.980324114607.4005A-100000@legolas.mdh.se>
Date: Tue, 24 Mar 1998 12:06:43 +0100 (MET)
Reply-To: Emil Isberg <emil.isberg@mds.mdh.se>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Emil Isberg <cel95eig@mds.mdh.se>
To: Simon Convey <simon@iway.nl>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Compiling with -static......
In-Reply-To: <35176C78.B469A68C@iway.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: cel95eig@mds.mdh.se
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, 24 Mar 1998, Simon Convey wrote:

>interesting things.....' Now I need to compile static so that I have
>much less hassle in running chroot. ( All the accounts, guest or
>otherwise get chrooted to their respective directories, even after inet
>chroot the ftpd to a secure area in the first place ! )

SUN doesn't like you being able to do certain thing static ..
:-(

On Solaris there is several functions that need shared binaries ..

If you make stubs of dl*() then you will be able to create the static
binary but some functions wont work, namely functions that look up system
files (that may be exported through nis/nis+) and other hosts ..

So you either must create the functions to do that for you, or not
compiling static ..

-- 
/Emil


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 24 21:55:57 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id VAA17294
	for <wuftpd@landfield.com>; Tue, 24 Mar 1998 21:55:55 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA02036;
	Tue, 24 Mar 1998 21:48:54 -0600 (CST)
Received: from eclectic.kluge.net (root@eclectic.kluge.net [130.215.248.68])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA28938
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Mar 1998 21:42:12 -0600 (CST)
Received: from dilbert.kluge.net (root@dilbert.kluge.net [130.215.248.72])
	by eclectic.kluge.net (8.9.0.Beta3/8.9.0.Beta3) with ESMTP id WAA08347;
	Tue, 24 Mar 1998 22:42:05 -0500
Received: from localhost (felicity@localhost [127.0.0.1])
	by dilbert.kluge.net (8.9.0.Beta3/8.9.0.Beta3) with SMTP id WAA04473;
	Tue, 24 Mar 1998 22:42:05 -0500
Message-Id: <Pine.LNX.3.96.980324224108.3969K-100000@dilbert.kluge.net>
Date: Tue, 24 Mar 1998 22:42:04 -0500 (EST)
Reply-To: felicity@kluge.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Theo Van Dinter <felicity@kluge.net>
To: "Chris J. Magnuson" <chrism@peakpeak.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: beta 16 build errors/warnings on RedHat 5.0
In-Reply-To: <v03130355b13c8f3a858f@[199.165.157.57]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, 23 Mar 1998, Chris J. Magnuson wrote:

| I got an error during the link of of ftpd, I must be missing some
| command-lin library?  I did a ./build lnx to start this.
| 
[snip]
| private.o(.text+0x385): undefined reference to `crypt'
| make: *** [ftpd] Error 1

Redhat 5.0 uses glibc instead of linux libc.  glibc has a libcrypt instead of
having it inside the C library, so you have to add a '-lcrypt' to the config.

-- 
Randomly Generated Tagline:
Gunpowder and alcohol DO mix - but it tastes awful!


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 09:54:29 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA03277;
	Wed, 25 Mar 1998 09:54:15 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA25117;
	Wed, 25 Mar 1998 09:51:35 -0600 (CST)
Received: from spmtq01.mtq.gouv.qc.ca ([132.221.39.155])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA22484
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 09:46:51 -0600 (CST)
Received: by spmtq01.mtq.gouv.qc.ca with Internet Mail Service (5.5.1960.3)
	id <1YBPTQN4>; Wed, 25 Mar 1998 10:43:55 -0500
Message-Id: <61AA8D244C60D111BA9000A0C9067352193659@spmtq01.mtq.gouv.qc.ca>
Date: Wed, 25 Mar 1998 10:43:54 -0500
Reply-To: dgaron@mtq.gouv.qc.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Garon, Denis" <dgaron@mtq.gouv.qc.ca>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Umask questions
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Mailer: Internet Mail Service (5.5.1960.3)
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id JAA23868
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,
 
I set permissions for my telnet (and FTP) users.  Each one have a
different UMASK.
But ftpd don't read my umask in my .profile, .login or .cshrc.

There is a way to do diffrent umask in ftpd for each users login in via
FTP?

_________________________________________________________
Denis Garon, Analyste   EMail:garond@mtq.gouv.qc.ca       
Transports Québec        DTI - Gestion & évolution des technologies
Tél: (514)873-6848        35 Rue De Port-Royal Bur: 5.00A
FAX: (514)873-8203      Montréal, Québec, H3L 3T1


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 10:04:32 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA03363;
	Wed, 25 Mar 1998 10:04:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA24562;
	Wed, 25 Mar 1998 10:02:26 -0600 (CST)
Received: from triton.dmso.mil (triton.dmso.mil [199.75.72.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA25622
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 09:55:41 -0600 (CST)
Received: (from tneshite@localhost) by triton.dmso.mil (8.8.5/8.7.3) id KAA03118; Wed, 25 Mar 1998 10:56:11 -0500 (EST)
Message-Id: <199803251556.KAA03118@triton.dmso.mil>
Date: Wed, 25 Mar 1998 10:56:11 -0500 (EST)
Reply-To: tneshite@MSIS.dmso.mil
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Neshite <tneshite@MSIS.dmso.mil>
To: dgaron@mtq.gouv.qc.ca
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Umask questions
In-Reply-To: <61AA8D244C60D111BA9000A0C9067352193659@spmtq01.mtq.gouv.qc.ca> from "Garon, Denis" at Mar 25, 98 10:43:54 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> 
> Hi,
>  
> I set permissions for my telnet (and FTP) users.  Each one have a
> different UMASK.
> But ftpd don't read my umask in my .profile, .login or .cshrc.
> 
> There is a way to do diffrent umask in ftpd for each users login in via
> FTP?
> 
> _________________________________________________________
> Denis Garon, Analyste   EMail:garond@mtq.gouv.qc.ca       
> Transports Québec        DTI - Gestion & évolution des technologies
> Tél: (514)873-6848        35 Rue De Port-Royal Bur: 5.00A
> FAX: (514)873-8203      Montréal, Québec, H3L 3T1
> 
> 


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 13:24:16 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id NAA04946;
	Wed, 25 Mar 1998 13:24:15 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA12113;
	Wed, 25 Mar 1998 13:21:29 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA10694
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 13:18:34 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id OAA22227; Wed, 25 Mar 1998 14:26:24 -0500
Message-Id: <Pine.GSO.3.96.980325135408.21627A-100000@dinosaur>
Date: Wed, 25 Mar 1998 14:26:24 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: guest account problems
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi all:

I sent this problem yestoday and so far has no answer. I guess that I did
not describe the problem clearly. Here is the problem:

I set up guest only account based on guetshowto and works fine in term of
uploading and downloading, but the user's personal web page can not be
seen because of "webuser:x:10000:10000:ftp web user
only:/export/home/web/./webuser/:/etc/ftponly". If I remove the dot
between web and webuser "webuser:x:10000:10000:ftp web user
only:/export/home/web/webuser:/etc/ftponly" and then everything would be
fine. BTW, the ftp directory is /export/home/web and all of ftponly users
are under /export/home/web.

I would be very gratefull if anyone can help me out this.

TIA

_ming



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 13:42:58 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id NAA05110;
	Wed, 25 Mar 1998 13:42:57 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA12495;
	Wed, 25 Mar 1998 13:41:03 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA13855
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 13:35:50 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id NAA32221;
	Wed, 25 Mar 1998 13:35:48 -0600
Message-Id: <Pine.LNX.3.96.980325133131.31731B-100000@ns1.fni.com>
Date: Wed, 25 Mar 1998 13:35:48 -0600 (CST)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Ming Lu <mlu@privsys.gip.net>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.GSO.3.96.980325135408.21627A-100000@dinosaur>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


One thought right offhand is that somehow the directory permissions
are set wrong.  The low order bit (0111) has to be set for a user
(other than root) to have access to files in the directory, and the
high bit (0444) has to be set for the contents of the directory to be
visible. 

Another more likely possibility is that the external ls is not
installed properly in the chroot'ed tree.  The guest howto goes over
that in some detail. 

   -- Michael

On Wed, 25 Mar 1998, Ming Lu wrote:

> I set up guest only account based on guetshowto and works fine in term of
> uploading and downloading, but the user's personal web page can not be
> seen because of "webuser:x:10000:10000:ftp web user
> only:/export/home/web/./webuser/:/etc/ftponly". If I remove the dot
> between web and webuser "webuser:x:10000:10000:ftp web user
> only:/export/home/web/webuser:/etc/ftponly" and then everything would be
> fine. BTW, the ftp directory is /export/home/web and all of ftponly users
> are under /export/home/web.


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 15:01:10 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA05863;
	Wed, 25 Mar 1998 15:01:09 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA22458;
	Wed, 25 Mar 1998 14:59:09 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA21524
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 14:53:14 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id QAA24040; Wed, 25 Mar 1998 16:00:57 -0500
Message-Id: <Pine.GSO.3.96.980325155229.22432B-100000@dinosaur>
Date: Wed, 25 Mar 1998 16:00:57 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Michael Brennen <mbrennen@fni.com>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.LNX.3.96.980325133131.31731B-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Well, the anonymous and guest users login fine and I can use any ftp
related commands with no problems at all. all of
/export/home/web/./webuser's directories have permissions 755. It is
frustrusting.... I really need help!

Best Regards

_ming

On Wed, 25 Mar 1998, Michael Brennen wrote:

->
->One thought right offhand is that somehow the directory permissions
->are set wrong.  The low order bit (0111) has to be set for a user
->(other than root) to have access to files in the directory, and the
->high bit (0444) has to be set for the contents of the directory to be
->visible. 
->
->Another more likely possibility is that the external ls is not
->installed properly in the chroot'ed tree.  The guest howto goes over
->that in some detail. 
->
->   -- Michael
->
->On Wed, 25 Mar 1998, Ming Lu wrote:
->
->> I set up guest only account based on guetshowto and works fine in term of
->> uploading and downloading, but the user's personal web page can not be
->> seen because of "webuser:x:10000:10000:ftp web user
->> only:/export/home/web/./webuser/:/etc/ftponly". If I remove the dot
->> between web and webuser "webuser:x:10000:10000:ftp web user
->> only:/export/home/web/webuser:/etc/ftponly" and then everything would be
->> fine. BTW, the ftp directory is /export/home/web and all of ftponly users
->> are under /export/home/web.
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 15:05:35 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA05903;
	Wed, 25 Mar 1998 15:05:33 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA22505;
	Wed, 25 Mar 1998 15:03:51 -0600 (CST)
Received: from greatdane.webnexus.com (greatdane.webnexus.com [165.227.96.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA21825
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 15:02:17 -0600 (CST)
Received: from kovar.webnexus.com (sj1-135.dialup.webnexus.com [209.140.226.135])
	by greatdane.webnexus.com (8.8.7/8.8.5/WN-1.2) with SMTP id NAA17948
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 13:02:10 -0800 (PST)
Message-Id: <199803252102.NAA17948@greatdane.webnexus.com>
Date: Wed, 25 Mar 1998 12:58:55 -0800
Reply-To: kovar@webnexus.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "David C. Kovar" <kovar@webnexus.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Changing home directory from ~ftp?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kovar@mail.netnoc.net
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

We'd like to run two ftp daemons on one machine for a period of time,
leaving the existing service rooted at ~ftp etc etc etc.

It's simple enough to set up wu-ftpd on a different port, but I am not
quite sure how to detach it from the ~ftp dependencies. I'd like to have it
use some other user name as it's home directory.

Am I missing an easy solution to this? I didn't find it mentioned in any of
the FAQs but perhaps I didn't look hard enough.

-David


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 15:12:25 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA05982;
	Wed, 25 Mar 1998 15:12:11 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA23819;
	Wed, 25 Mar 1998 15:09:57 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA23376
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 15:07:53 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id PAA02735;
	Wed, 25 Mar 1998 15:07:58 -0600
Message-Id: <Pine.LNX.3.96.980325150016.31731E-100000@ns1.fni.com>
Date: Wed, 25 Mar 1998 15:07:58 -0600 (CST)
Reply-To: Michael Brennen <mbrennen@fni.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Ming Lu <mlu@privsys.gip.net>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.GSO.3.96.980325155229.22432B-100000@dinosaur>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I understand and sympathize with your frustration.  However, stop and
think about how *you* would debug this if you knew only what you have
posted to this list.  It isn't much, and what is probably more
critical is what you have *not* posted.  Frankly I've not even fully
understood exactly what the problem is, whether FTP or Web service
related, so it is hard to suggest areas to look.

If the Web server is not able to see the data because of the /./, what
Web server are you running?  Apache does not use the /etc/passwd file
and is not affected by the /./.

   -- Michael

On Wed, 25 Mar 1998, Ming Lu wrote:

> Well, the anonymous and guest users login fine and I can use any ftp
> related commands with no problems at all. all of
> /export/home/web/./webuser's directories have permissions 755. It is
> frustrusting.... I really need help!



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 15:24:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA06120;
	Wed, 25 Mar 1998 15:24:39 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA23670;
	Wed, 25 Mar 1998 15:22:54 -0600 (CST)
Received: from tower.ti.com (tower.ti.com [192.94.94.5])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA22477
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 15:20:55 -0600 (CST)
Received: from dadd.ti.com. ([156.117.180.253]) by tower.ti.com (8.8.8) with ESMTP id PAA01918 for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 15:20:24 -0600 (CST)
Received: from pavis.dadd.ti.com by dadd.ti.com. (8.8.4/)
	  id PAA17358; Wed, 25 Mar 1998 15:20:23 -0600 (CST)
Received: by pavis.dadd.ti.com id <AA213900803@pavis.dadd.ti.com>; Wed, 25 Mar 1998 15:20:03 -0600
Message-Id: <199803252120.AA213900803@pavis.dadd.ti.com>
Date: Wed, 25 Mar 98 15:20:02 CST
Reply-To: bobl@ti.com (Bob Luckin)
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Luckin <bobl@dadd.ti.com>
To: wu-ftpd@wugate.wustl.edu
Subject: guest account problems
X-Mimi-Options: HEADERS TI2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Ming said :-
>I set up guest only account based on guetshowto and works fine in term of
>uploading and downloading, but the user's personal web page can not be
>seen because of "webuser:x:10000:10000:ftp web user
>only:/export/home/web/./webuser/:/etc/ftponly". If I remove the dot
>between web and webuser "webuser:x:10000:10000:ftp web user
>only:/export/home/web/webuser:/etc/ftponly" and then everything would be
>fine. BTW, the ftp directory is /export/home/web and all of ftponly users
>are under /export/home/web.

I don't use guest accounts, so I can't give a lot of help - except that
I'm sure this was discussed some time ago on the list.

I believe the issue was that some web servers get confused by the "."
in the directory field of the password file.  I don't recall whether a
workaround was found, or whether the person with the problem switched to
a different web server, or what.  The best I can suggest is that you
search the mailing list archives at http://www.landfield.com/wu-ftpd/ and
see if you can find the thread...

But perhaps someone else with a better memory than mine can throw some
light on the matter ?

Cheers, Bob
-- 
Bob Luckin      bobl@ti.com      "Coder, adapt; FTP Ada, redo C"
                                 [http://www.dhc.net/~luckin/palindromes.html]

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 15:56:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA06434;
	Wed, 25 Mar 1998 15:56:47 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA25300;
	Wed, 25 Mar 1998 15:54:52 -0600 (CST)
Received: from sniff.iway.nl (sniff.iway.nl [193.78.30.251])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA28490
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 15:51:41 -0600 (CST)
Received: from iway.nl (berk [192.168.1.15]) by sniff.iway.nl (8.7.5/8.7.3) with ESMTP id AAA03551 for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 00:14:39 +0100 (MET)
Message-Id: <3518374D.6B254BCF@iway.nl>
Date: Tue, 24 Mar 1998 22:44:29 +0000
Reply-To: simon@iway.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Simon Convey <simon@iway.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: Still looking for libdl on Solaris....
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@sniff.iway.nl
X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-971225-SNAP i386)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Is Solaris a dog or wot .....?
    Give a FreeBSD box anyday........

O.K. wu daemon hackers, here's the crack...I've compiled my heavily
modified wu-ftpd using the standard dynamic linking, fine works a treat.




gcc -g -I.. -I../support -L../support -static -o ftpd ftpd.o ftpcmd.o
glob.o logwtmp.o popen.o vers.o access.o  extensions.o  realpath.o acl.o
private.o authenticate.o conversions.o hostacc.o  sigfix.o conn.o -ldl
-lsupport -lsocket -lgen -lauth -lfwall -lnsl
ld: fatal: library -ldl: not found
ld: fatal: File processing errors. No output written to ftpd
*** Error code 1
make: Fatal error: Command failed for target `ftpd'
# ldconfig
ksh: ldconfig:  not found



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 16:54:49 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id QAA07043;
	Wed, 25 Mar 1998 16:54:47 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA01600;
	Wed, 25 Mar 1998 16:52:16 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA00335
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 16:46:56 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id RAA26356; Wed, 25 Mar 1998 17:54:51 -0500
Message-Id: <Pine.GSO.3.96.980325175142.25770B-100000@dinosaur>
Date: Wed, 25 Mar 1998 17:54:51 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Bob Luckin <bobl@ti.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: guest account problems
In-Reply-To: <199803252120.AA213900803@pavis.dadd.ti.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Thanks Bob. The web server is netscape 2.1. I am trying to go through
archieves... I am a kind of new to this group.

Bets Regards

_ming

On Wed, 25 Mar 1998, Bob Luckin wrote:

->Ming said :-
->>I set up guest only account based on guetshowto and works fine in term of
->>uploading and downloading, but the user's personal web page can not be
->>seen because of "webuser:x:10000:10000:ftp web user
->>only:/export/home/web/./webuser/:/etc/ftponly". If I remove the dot
->>between web and webuser "webuser:x:10000:10000:ftp web user
->>only:/export/home/web/webuser:/etc/ftponly" and then everything would be
->>fine. BTW, the ftp directory is /export/home/web and all of ftponly users
->>are under /export/home/web.
->
->I don't use guest accounts, so I can't give a lot of help - except that
->I'm sure this was discussed some time ago on the list.
->
->I believe the issue was that some web servers get confused by the "."
->in the directory field of the password file.  I don't recall whether a
->workaround was found, or whether the person with the problem switched to
->a different web server, or what.  The best I can suggest is that you
->search the mailing list archives at http://www.landfield.com/wu-ftpd/ and
->see if you can find the thread...
->
->But perhaps someone else with a better memory than mine can throw some
->light on the matter ?
->
->Cheers, Bob
->-- 
->Bob Luckin      bobl@ti.com      "Coder, adapt; FTP Ada, redo C"
->                                 [http://www.dhc.net/~luckin/palindromes.html]
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 17:00:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA07128;
	Wed, 25 Mar 1998 17:00:19 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA01604;
	Wed, 25 Mar 1998 16:58:34 -0600 (CST)
Received: from biff.stud.ntnu.no (biff.stud.ntnu.no [129.241.56.18])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA00805
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 16:54:01 -0600 (CST)
Received: from ild.stud.ntnu.no (ild.stud.ntnu.no [129.241.56.15])
	by biff.stud.ntnu.no (8.8.8/8.8.8) with ESMTP id XAA08095;
	Wed, 25 Mar 1998 23:53:51 +0100 (MET)
Received: (from joge@localhost)
	by ild.stud.ntnu.no (8.8.8/8.8.8) id XAA17801;
	Wed, 25 Mar 1998 23:53:51 +0100 (MET)
Message-Id: <199803252253.XAA17801@ild.stud.ntnu.no>
Date: Wed, 25 Mar 1998 23:53:51 +0100 (MET)
Reply-To: joge@stud.ntnu.no
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Geir Johannessen <joge@stud.ntnu.no>
To: simon@iway.nl
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Still looking for libdl on Solaris....
In-Reply-To: <3518374D.6B254BCF@iway.nl> from Simon Convey at "Mar 24, 98 10:44:29 pm"
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Url: http://www.stud.ntnu.no/~joge/
X-Mailer: ELM [version 2.4ME+ PL38 (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> gcc -g -I.. -I../support -L../support -static -o ftpd ftpd.o ftpcmd.o
> glob.o logwtmp.o popen.o vers.o access.o  extensions.o  realpath.o acl.o
> private.o authenticate.o conversions.o hostacc.o  sigfix.o conn.o -ldl
> -lsupport -lsocket -lgen -lauth -lfwall -lnsl
> ld: fatal: library -ldl: not found
> ld: fatal: File processing errors. No output written to ftpd
> *** Error code 1
> make: Fatal error: Command failed for target `ftpd'

What you are trying to do is not possible on Solaris. But it can nearly be
done. From ftp://ftp.fwi.uva.nl/pub/solaris/solaris2.html or
http://www.sun.com/smcc/solaris-migration/tools/docs/FAQ/solaris2.html:

#### Start
6.24) I have problems linking my application statically. 

In Solaris 2.x static linking is not supported for any of the system
libraries. All the functions that use /etc/nsswitch.conf (getXXXbyYYY,
getpwXXX, etc) require the dynamic linker to load the code to load these
functions. It is not possible to write configurable/extensible functions in
such a way that dynamic linking is not required. E.g., you can add your own
nsswitch.conf backend which would not be known to programs statically
linked to only the standard backend code.

Programs that link statically against any of the OS libraries may not run
in the next release and are not ABI compliant.

Programs that link statically don't get some dynamic performance
enhancements found in the shared libraries: using hardware multiply/divide
on systems that support it; using fast mem*() operations on UltraSPARC
etc. And you won't pick up performance enhancements in next releases: e.g.,
Solaris 2.5 comes with a 4x faster fread/fwrite and the "Name Server Cache
Daemon".

If you don't care about ABI compliance, i.e., you won't ship your program
as a product and don't care that you may need to recompile after an OS
upgrade, here are some of your options:

Link statically against all but libdl: 

        cc -Bstatic ....  -Bdynamic -ldl -Bstatic

Link against dl* stubs (gethostbyXXX, getpwXXX etc won't work any longer): 

        char *dlopen() { return 0;}
        int dlclose() { return 0;}
        char *dlsym() { return 0;}
        char *dlerror() { return "dynamic linking not loaded";}

If you don't want any dependencies on /usr, link against the dynamic libs
in /etc/lib: 

        cc -Bstatic ... -Bdynamic -R/etc/lib -Wl,-I/etc/lib/ld.so.1 -ldl
                -Bstatic ....

If you still get undefined symbols, check with ldd for all your libraries
if they have any dynamic dependencies. E.g.,

        % ldd /usr/lib/libsocket.so.1
                libnsl.so.1 =>   /usr/lib/libnsl.so.1
                libdl.so.1 =>    /usr/lib/libdl.so.1
                libc.so.1 =>     /usr/lib/libc.so.1
                libintl.so.1 =>  /usr/lib/libintl.so.1
                libw.so.1 =>     /usr/lib/libw.so.1

tells you that if you want to link libsocket statically, you need to link
with -lnsl -ldl -lc -lintl and -lw as well.
#### End

So what you want to do is this:

cc -Bstatic -g -I.. -I../support -L../support -static -o ftpd ftpd.o
ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o
acl.o private.o authenticate.o conversions.o hostacc.o sigfix.o conn.o
-lsupport -lsocket -lgen -lauth -lfwall -lnsl -Bdynamic -R/etc/lib
-Wl,-I/etc/lib/ld.so.1 -ldl -Bstatic

--
Geir Johannessen          #  joge@stud.ntnu.no
E B Schieldropsvei 35-25  #  http://www.stud.ntnu.no/~joge/
N-7033 TRONDHEIM, NORWAY  #  Tlf private +47-73888989, job +47-73598048
"If at first you don't succeed, destroy all evidence that you tried."

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 17:01:50 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA07144;
	Wed, 25 Mar 1998 17:01:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA01749;
	Wed, 25 Mar 1998 16:59:24 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA01615
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 16:55:40 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id SAA26551; Wed, 25 Mar 1998 18:03:36 -0500
Message-Id: <Pine.GSO.3.96.980325180112.25770C-100000@dinosaur>
Date: Wed, 25 Mar 1998 18:03:36 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Michael Brennen <mbrennen@fni.com>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.LNX.3.96.980325150016.31731E-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Thanks, you are right!

I am using Netscape Enterprise 2.1. Could that be a problem?

Best Regards

_ming

On Wed, 25 Mar 1998, Michael Brennen wrote:

->
->I understand and sympathize with your frustration.  However, stop and
->think about how *you* would debug this if you knew only what you have
->posted to this list.  It isn't much, and what is probably more
->critical is what you have *not* posted.  Frankly I've not even fully
->understood exactly what the problem is, whether FTP or Web service
->related, so it is hard to suggest areas to look.
->
->If the Web server is not able to see the data because of the /./, what
->Web server are you running?  Apache does not use the /etc/passwd file
->and is not affected by the /./.
->
->   -- Michael
->
->On Wed, 25 Mar 1998, Ming Lu wrote:
->
->> Well, the anonymous and guest users login fine and I can use any ftp
->> related commands with no problems at all. all of
->> /export/home/web/./webuser's directories have permissions 755. It is
->> frustrusting.... I really need help!
->
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 17:07:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA07211;
	Wed, 25 Mar 1998 17:07:07 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA02300;
	Wed, 25 Mar 1998 17:04:53 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA02582
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 17:00:35 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id RAA05196;
	Wed, 25 Mar 1998 17:00:41 -0600
Message-Id: <Pine.LNX.3.96.980325165930.31731N-100000@ns1.fni.com>
Date: Wed, 25 Mar 1998 17:00:41 -0600 (CST)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Ming Lu <mlu@privsys.gip.net>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.GSO.3.96.980325180112.25770C-100000@dinosaur>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I honestly don't know; I don't run the NS server.  Hopefully someone
on the list will have gone through this before. 

   -- Michael

On Wed, 25 Mar 1998, Ming Lu wrote:

> I am using Netscape Enterprise 2.1. Could that be a problem?


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 17:13:43 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA07280;
	Wed, 25 Mar 1998 17:13:23 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA04295;
	Wed, 25 Mar 1998 17:11:16 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA02402
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 17:05:31 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id SAA26618; Wed, 25 Mar 1998 18:13:23 -0500
Message-Id: <Pine.GSO.3.96.980325181110.25770D-100000@dinosaur>
Date: Wed, 25 Mar 1998 18:13:23 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Michael Brennen <mbrennen@fni.com>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.LNX.3.96.980325165930.31731N-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I am stll very gratfull for you and bob's help, it gives me the direction.
So far I was focusing on ftp server itself. I will check this out and let
your guys know.

Best Regards

_ming
 
On Wed, 25 Mar 1998, Michael Brennen wrote:

->
->I honestly don't know; I don't run the NS server.  Hopefully someone
->on the list will have gone through this before. 
->
->   -- Michael
->
->On Wed, 25 Mar 1998, Ming Lu wrote:
->
->> I am using Netscape Enterprise 2.1. Could that be a problem?
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 17:45:02 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA07531;
	Wed, 25 Mar 1998 17:45:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA06898;
	Wed, 25 Mar 1998 17:43:07 -0600 (CST)
Received: from gatekeep.ti.com (gatekeep.ti.com [192.94.94.61])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA31028
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 17:36:24 -0600 (CST)
Received: from dadd.ti.com. ([156.117.179.59]) by gatekeep.ti.com (8.8.8) with ESMTP id RAA12343 for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 17:35:54 -0600 (CST)
Received: from pavis.dadd.ti.com by dadd.ti.com. (8.8.4/)
	  id RAA20860; Wed, 25 Mar 1998 17:35:53 -0600 (CST)
Received: by pavis.dadd.ti.com id <AA214498934@pavis.dadd.ti.com>; Wed, 25 Mar 1998 17:35:34 -0600
Message-Id: <199803252335.AA214498934@pavis.dadd.ti.com>
Date: Wed, 25 Mar 98 17:35:33 CST
Reply-To: bobl@ti.com (Bob Luckin)
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Luckin <bobl@dadd.ti.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Still looking for libdl on Solaris....
In-Reply-To: <3518374D.6B254BCF@iway.nl>; from "Simon Convey" at Mar 24, 98 10:44 pm
X-Mimi-Options: HEADERS TI2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Simon said :-
> O.K. wu daemon hackers, here's the crack...I've compiled my heavily
> modified wu-ftpd using the standard dynamic linking, fine works a treat.

I think you are out of luck.  If I remember earlier postings to the list
correctly, Sun does not supply a static libdl for Solaris 2.  If you check
the FAQ at
   http://www.wins.uva.nl/pub/solaris/solaris2/Q6.24.html
there's some advice there on building statically under Solaris 2 which may
help.

FYI, I found the above URL by looking at Darci Chapman's guide for wu-ftpd on
Solaris 2 (http://www.wildheart.org/wu-ftpd/)...

Hope this helps...

Cheers, Bob
-- 
     "Emit no data, coder ?  Adapt !  FTP Ada, redo C a tad - on time !"
Bob Luckin      bobl@ti.com      [http://www.dhc.net/~luckin/palindromes.html]

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 18:04:49 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA07693;
	Wed, 25 Mar 1998 18:04:36 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA26229;
	Wed, 25 Mar 1998 18:02:24 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA06144
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 18:01:01 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id TAA27777; Wed, 25 Mar 1998 19:08:56 -0500
Message-Id: <Pine.GSO.3.96.980325185738.25770F-100000@dinosaur>
Date: Wed, 25 Mar 1998 19:08:56 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Michael Brennen <mbrennen@fni.com>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.LNX.3.96.980325165930.31731N-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I just removed the dot  and I can see the web page very well, BUT, I tried
to login via ftp and I got error:

220 server1 FTP server (Version wu-2.4.2-academ[BETA-16](1) Sat Mar 25
23:56:30 EST 1998) ready.

Name (xxx.xxx.xxx.xxx:mlu):webtest
331 Password required for webtest.
Password:
230 User webtest logged in.  Access restrictions apply.
ftp> ls -al
200 PORT command successful.
425 Can't create data socket (0.0.0.0,20): No such file or directory.
ftp> quit
221 Goodbye.

Once I put the dot back, I got:

220 server1 FTP server (Version wu-2.4.2-academ[BETA-16](1) Sat Mar 25
23:56:30 EST 1998) ready.
Name (xxx.xxx.xxx.xxx:mlu): webtest
331 Password required for webtest.
Password:
230-Welcome, archive user!
230-
....
....
230 User webtest logged in.  Access restrictions apply.
ftp> ls -al
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 10
drwxr-xr-x   4 10006    40000        512 Mar 24 19:25 .
drwxr-xr-x   7 0        1            512 Mar 24 19:11 ..
drwxr-xr-x   2 10006    40000        512 Mar 24 19:25 public_html
drwxr-xr-x   2 10006    40000        512 Mar 24 19:20 tr
-rw-r--r--   1 10006    40000          8 Mar 24 19:19 ttt
226 Transfer complete.
remote: -al
309 bytes received in 0.59 seconds (0.51 Kbytes/s)
ftp> cd ..
250 CWD command successful.
ftp> ls -al
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 18
drwxr-xr-x   7 0        1            512 Mar 24 19:11 .
drwxr-xr-x   7 0        1            512 Mar 24 19:11 ..
-r--------   1 0        1              0 Nov  4 18:25 .forward
-r--------   1 0        1              0 Nov  4 18:25 .rhosts
-rw-r--r--   1 0        1            479 Mar 24 19:15 .welcome.msg
lrwxrwxrwx   1 0        1              7 Nov  4 17:51 bin -> usr/bin
dr-xr-xr-x   2 0        1            512 Nov  4 18:06 dev
dr-xr-xr-x   2 0        1            512 Nov  4 17:57 etc
dr-xr-xr-x   5 0        1            512 Nov  4 17:49 usr
drwxr-xr-x   4 10006    40000        512 Mar 24 19:25 webtest
drwxr-xr-x   3 10005    40000        512 Mar 25 06:26 webuser
226 Transfer complete.
remote: -al
693 bytes received in 0.6 seconds (1.12 Kbytes/s)

Anyone has insights besides user's web page problems?

TIA

_ming
 

On Wed, 25 Mar 1998, Michael Brennen wrote:

->
->I honestly don't know; I don't run the NS server.  Hopefully someone
->on the list will have gone through this before. 
->
->   -- Michael
->
->On Wed, 25 Mar 1998, Ming Lu wrote:
->
->> I am using Netscape Enterprise 2.1. Could that be a problem?
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 18:10:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA07722;
	Wed, 25 Mar 1998 18:10:21 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA09238;
	Wed, 25 Mar 1998 18:08:23 -0600 (CST)
Received: from sniff.iway.nl (sniff.iway.nl [193.78.30.251])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA08951
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 18:02:36 -0600 (CST)
Received: from iway.nl (berk [192.168.1.15]) by sniff.iway.nl (8.7.5/8.7.3) with ESMTP id CAA03977; Thu, 26 Mar 1998 02:25:44 +0100 (MET)
Message-Id: <35185605.46486238@iway.nl>
Date: Wed, 25 Mar 1998 00:55:33 +0000
Reply-To: simon@iway.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Simon Convey <simon@iway.nl>
To: Bob Luckin <bobl@ti.com>, wu-ftpd@wugate.wustl.edu
Subject: Re: Still looking for libdl on Solaris....
References: <199803252335.AA214498934@pavis.dadd.ti.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@sniff.iway.nl
X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-971225-SNAP i386)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Bob Luckin wrote:

> Simon said :-
> > O.K. wu daemon hackers, here's the crack...I've compiled my heavily
> > modified wu-ftpd using the standard dynamic linking, fine works a treat.
>
> I think you are out of luck. .....

Yeah, I'm coming to the same conclusion myself,  Geir Johannessen in Norway has
also run into this...
I can live with though,  it just means that my chroot environment is not as tidy
as I'd like...Oh well.
As a matter of intrest, the hacked wu-ftp I've built perform two chroots, the
first externally via the tis firewall toolkit ( and authenticates using authsrv)
and then chroot s every user to their home directory....) It just means that
registered accounts can't mess with other accounts. I'll publish the source when
it's out out of beta.....

Thanks for the info though,
( I read Casper Dik's Solaris info on static linking. He now works for sun
microsystems in the Netherlands, which is way handy, becasue he frequently
answers on sun-managers too......)   Hello Casper if you're listening...:-)

Kind regards,
Simon Convey. < simon@iway.nl>



From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 18:10:55 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA07736;
	Wed, 25 Mar 1998 18:10:49 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA07823;
	Wed, 25 Mar 1998 18:09:06 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA05985
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 18:03:38 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id SAA07411;
	Wed, 25 Mar 1998 18:03:45 -0600
Message-Id: <Pine.LNX.3.96.980325180302.31731J-100000@ns1.fni.com>
Date: Wed, 25 Mar 1998 18:03:45 -0600 (CST)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Ming Lu <mlu@privsys.gip.net>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.GSO.3.96.980325185738.25770F-100000@dinosaur>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


This is covered in the FAQ as well as in the guest howto (toward the
bottom).

   -- Michael

On Wed, 25 Mar 1998, Ming Lu wrote:

> ftp> ls -al
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): No such file or directory.


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 18:35:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA07912;
	Wed, 25 Mar 1998 18:35:39 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA12096;
	Wed, 25 Mar 1998 18:33:47 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA10509
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 18:28:03 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id TAA28353; Wed, 25 Mar 1998 19:35:57 -0500
Message-Id: <Pine.GSO.3.96.980325192916.25770G-100000@dinosaur>
Date: Wed, 25 Mar 1998 19:35:57 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Michael Brennen <mbrennen@fni.com>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.LNX.3.96.980325180302.31731J-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Michael:

The reason I built the ueser 'webtest' home directory in the ftp server
directory is that I am trying to avoid create the /etc, /lib, and any
other directories in every ftponly user home directory. Here is the
directory layout:

drwxr-xr-x   7 root     other        512 Mar 24 22:11 .
drwxr-xr-x  19 root     staff        512 Mar 24 21:59 ..
-r--------   1 root     other          0 Nov  4 21:25 .forward
-r--------   1 root     other          0 Nov  4 21:25 .rhosts
-rw-r--r--   1 root     other        479 Mar 24 22:15 .welcome.msg
lrwxrwxrwx   1 root     other          7 Nov  4 20:51 bin -> usr/bin
dr-xr-xr-x   2 root     other        512 Nov  4 21:06 dev
dr-xr-xr-x   2 root     other        512 Nov  4 20:57 etc
dr-xr-xr-x   5 root     other        512 Nov  4 20:49 usr
drwxr-xr-x   4 webtest  web          512 Mar 24 22:25 webtest

Do I still have to build these directories in every ftp user's home
directory?

Best Regards

_ming

On Wed, 25 Mar 1998, Michael Brennen wrote:

->
->This is covered in the FAQ as well as in the guest howto (toward the
->bottom).
->
->   -- Michael
->
->On Wed, 25 Mar 1998, Ming Lu wrote:
->
->> ftp> ls -al
->> 200 PORT command successful.
->> 425 Can't create data socket (0.0.0.0,20): No such file or directory.
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 18:54:31 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA08084;
	Wed, 25 Mar 1998 18:54:30 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA12910;
	Wed, 25 Mar 1998 18:52:43 -0600 (CST)
Received: from fgwmail.fujitsu.co.jp (fgwmail.fujitsu.co.jp [164.71.1.133])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA13332
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 18:48:28 -0600 (CST)
Received: from fdmmail.fujitsu.co.jp by fgwmail.fujitsu.co.jp (8.8.8+2.7Wbeta7/3.6Wbeta7-MX980310-Fujitsu Mail Gateway)
	id JAA15757; Thu, 26 Mar 1998 09:48:25 +0900 (JST)
Received: from kiritanpo.fas.se.fujitsu.co.jp by fdmmail.fujitsu.co.jp (8.8.8+2.7Wbeta7/3.6W-980320-Fujitsu Domain Mail Master)
	id JAA28130; Thu, 26 Mar 1998 09:47:52 +0900 (JST)
Received: from FMV13235 ([172.18.13.235]) by kiritanpo.fas.se.fujitsu.co.jp (8.6.12+2.4W/3.5Wpl4/09/19/97) with ESMTP id JAA29786; Thu, 26 Mar 1998 09:49:16 +0900
Message-Id: <3519A499.FF9C1D66@fas.se.fujitsu.co.jp>
Date: Thu, 26 Mar 1998 09:43:06 +0900
Reply-To: kobayasi@fas.se.fujitsu.co.jp
Sender: owner-wu-ftpd@wugate.wustl.edu
From: kobayashi <kobayasi@fas.se.fujitsu.co.jp>
To: mlu@privsys.gip.net
Cc: Michael Brennen <mbrennen@fni.com>,
        Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
References: <Pine.GSO.3.96.980325192916.25770G-100000@dinosaur>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [ja] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

if wu-ftpd running on solaris 2.x, you should see man page(ftpd).
So you find how to set permission.
$B!!(J

Ming Lu wrote:

> Michael:
>
> The reason I built the ueser 'webtest' home directory in the ftp
> server
> directory is that I am trying to avoid create the /etc, /lib, and any
> other directories in every ftponly user home directory. Here is the
> directory layout:
>
> drwxr-xr-x$B!!!!(J 7 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Mar 24 22:11 .
> drwxr-xr-x$B!!(J 19 root$B!!!!!!!!(J staff$B!!!!!!!!!!!!!!(J 512 Mar 24 21:59 ..
> -r--------$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 0 Nov$B!!(J 4 21:25
> .forward
> -r--------$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 0 Nov$B!!(J 4 21:25
> .rhosts
> -rw-r--r--$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 479 Mar 24 22:15
> .welcome.msg
> lrwxrwxrwx$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 7 Nov$B!!(J 4 20:51
> bin -> usr/bin
> dr-xr-xr-x$B!!!!(J 2 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 21:06
> dev
> dr-xr-xr-x$B!!!!(J 2 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 20:57
> etc
> dr-xr-xr-x$B!!!!(J 5 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 20:49
> usr
> drwxr-xr-x$B!!!!(J 4 webtest$B!!(J web$B!!!!!!!!!!!!!!!!!!(J 512 Mar 24 22:25
> webtest

$B!!(J


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 19:31:21 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA08518
	for <wuftpd@landfield.com>; Wed, 25 Mar 1998 19:31:20 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA15580;
	Wed, 25 Mar 1998 19:24:55 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA15425
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 19:18:37 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id UAA29367; Wed, 25 Mar 1998 20:26:23 -0500
Message-Id: <Pine.GSO.3.96.980325202323.25770H-100000@dinosaur>
Date: Wed, 25 Mar 1998 20:26:22 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: kobayashi <kobayasi@fas.se.fujitsu.co.jp>
Cc: Michael Brennen <mbrennen@fni.com>,
        Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <3519A499.FF9C1D66@fas.se.fujitsu.co.jp>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Well, I don't think it was perssion problem though. But good point! The
server was in Africa and it belongs to our customer. I don't manage it,
they are having problems and my boss wants me to fix it.

OK, let me straight this out first.

Thinks

_ming
 
On Thu, 26 Mar 1998, kobayashi wrote:

->if wu-ftpd running on solaris 2.x, you should see man page(ftpd).
->So you find how to set permission.
->$B!!(J
->
->Ming Lu wrote:
->
->> Michael:
->>
->> The reason I built the ueser 'webtest' home directory in the ftp
->> server
->> directory is that I am trying to avoid create the /etc, /lib, and any
->> other directories in every ftponly user home directory. Here is the
->> directory layout:
->>
->> drwxr-xr-x$B!!!!(J 7 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Mar 24 22:11 .
->> drwxr-xr-x$B!!(J 19 root$B!!!!!!!!(J staff$B!!!!!!!!!!!!!!(J 512 Mar 24 21:59 ..
->> -r--------$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 0 Nov$B!!(J 4 21:25
->> .forward
->> -r--------$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 0 Nov$B!!(J 4 21:25
->> .rhosts
->> -rw-r--r--$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 479 Mar 24 22:15
->> .welcome.msg
->> lrwxrwxrwx$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 7 Nov$B!!(J 4 20:51
->> bin -> usr/bin
->> dr-xr-xr-x$B!!!!(J 2 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 21:06
->> dev
->> dr-xr-xr-x$B!!!!(J 2 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 20:57
->> etc
->> dr-xr-xr-x$B!!!!(J 5 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 20:49
->> usr
->> drwxr-xr-x$B!!!!(J 4 webtest$B!!(J web$B!!!!!!!!!!!!!!!!!!(J 512 Mar 24 22:25
->> webtest
->
->$B!!(J
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 19:32:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA08528
	for <wuftpd@landfield.com>; Wed, 25 Mar 1998 19:32:03 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA16581;
	Wed, 25 Mar 1998 19:27:13 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA15886
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 19:19:06 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id RAA11333
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 17:19:04 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <HSQ2DV83>; Wed, 25 Mar 1998 17:18:55 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFB87@cnfvs008.cnf.com>
Date: Wed, 25 Mar 1998 17:18:52 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: wu-ftpd@wugate.wustl.edu
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: error
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

running beta 16 on sol 2.5.0 I get a message 
that the ~ftp guest file is too long (>49) ...
where can I change the source code so
that a larger number of entries can exist?


thanks
Guy

From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 19:36:05 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA08569
	for <wuftpd@landfield.com>; Wed, 25 Mar 1998 19:36:05 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA17598;
	Wed, 25 Mar 1998 19:31:06 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA16628
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 19:29:20 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id UAA29570; Wed, 25 Mar 1998 20:37:06 -0500
Message-Id: <Pine.GSO.3.96.980325203048.25770I-100000@dinosaur>
Date: Wed, 25 Mar 1998 20:37:06 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: kobayashi <kobayasi@fas.se.fujitsu.co.jp>
Cc: Michael Brennen <mbrennen@fni.com>,
        Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <3519A499.FF9C1D66@fas.se.fujitsu.co.jp>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


OK, I checked this. The ftp server directory /export/home/web settings are
OK. I don't see any problem to set these directories owned by root. Let me
check something else.

_ming
 

On Thu, 26 Mar 1998, kobayashi wrote:

->if wu-ftpd running on solaris 2.x, you should see man page(ftpd).
->So you find how to set permission.
->$B!!(J
->
->Ming Lu wrote:
->
->> Michael:
->>
->> The reason I built the ueser 'webtest' home directory in the ftp
->> server
->> directory is that I am trying to avoid create the /etc, /lib, and any
->> other directories in every ftponly user home directory. Here is the
->> directory layout:
->>
->> drwxr-xr-x$B!!!!(J 7 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Mar 24 22:11 .
->> drwxr-xr-x$B!!(J 19 root$B!!!!!!!!(J staff$B!!!!!!!!!!!!!!(J 512 Mar 24 21:59 ..
->> -r--------$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 0 Nov$B!!(J 4 21:25
->> .forward
->> -r--------$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 0 Nov$B!!(J 4 21:25
->> .rhosts
->> -rw-r--r--$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 479 Mar 24 22:15
->> .welcome.msg
->> lrwxrwxrwx$B!!!!(J 1 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!!!!!(J 7 Nov$B!!(J 4 20:51
->> bin -> usr/bin
->> dr-xr-xr-x$B!!!!(J 2 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 21:06
->> dev
->> dr-xr-xr-x$B!!!!(J 2 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 20:57
->> etc
->> dr-xr-xr-x$B!!!!(J 5 root$B!!!!!!!!(J other$B!!!!!!!!!!!!!!(J 512 Nov$B!!(J 4 20:49
->> usr
->> drwxr-xr-x$B!!!!(J 4 webtest$B!!(J web$B!!!!!!!!!!!!!!!!!!(J 512 Mar 24 22:25
->> webtest
->
->$B!!(J
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 19:49:15 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA08684
	for <wuftpd@landfield.com>; Wed, 25 Mar 1998 19:49:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA16978;
	Wed, 25 Mar 1998 19:43:47 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA18295
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 19:42:07 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id UAA29783; Wed, 25 Mar 1998 20:50:01 -0500
Message-Id: <Pine.GSO.3.96.980325203830.25770K-100000@dinosaur>
Date: Wed, 25 Mar 1998 20:50:00 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Michael Brennen <mbrennen@fni.com>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: guest account problems
In-Reply-To: <Pine.LNX.3.96.980325180302.31731J-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Michael:

I found the problem. In the /etc/passwd file I have:

webtest:x:10006:40000:Webtest:/export/home/web/./webtest/:/etc/ftponly

but in another passwd file which is located in ftp server directory
/export/home/web/etc had only:

root:x:0:1:Super-User:/:/sbin/sh

It was covered in the guest-howto point 5. So I put:

webtest:x:10006:40000:webtest:/export/home/web/./webtest/:/etc/ftponly

It works fine now.

I am sorry if my postings anoyied anyone here.

Best Regards

_ming

On Wed, 25 Mar 1998, Michael Brennen wrote:

->
->This is covered in the FAQ as well as in the guest howto (toward the
->bottom).
->
->   -- Michael
->
->On Wed, 25 Mar 1998, Ming Lu wrote:
->
->> ftp> ls -al
->> 200 PORT command successful.
->> 425 Can't create data socket (0.0.0.0,20): No such file or directory.
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Wed Mar 25 22:01:21 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id WAA09914
	for <wuftpd@landfield.com>; Wed, 25 Mar 1998 22:01:07 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA27082;
	Wed, 25 Mar 1998 21:52:58 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA26687
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Mar 1998 21:50:34 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id VAA11068;
	Wed, 25 Mar 1998 21:50:42 -0600
Message-Id: <Pine.LNX.3.96.980325214605.31731K-100000@ns1.fni.com>
Date: Wed, 25 Mar 1998 21:50:42 -0600 (CST)
Reply-To: Michael Brennen <mbrennen@fni.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Ming Lu <mlu@privsys.gip.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: guest account problems
In-Reply-To: <Pine.GSO.3.96.980325192916.25770G-100000@dinosaur>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I haven't looked at the code, but I think this structure has to be
under the chroot point (/./).  I build this structure under every
user's chroot point, but I build hard links for the static 'ls' in
~/bin to avoid taking needless disk space.  I built a perl script to
build this account structure, so once the script is built the process
is painless. 

   -- Michael

On Wed, 25 Mar 1998, Ming Lu wrote:

> The reason I built the ueser 'webtest' home directory in the ftp server
> directory is that I am trying to avoid create the /etc, /lib, and any
> other directories in every ftponly user home directory. Here is the
> directory layout:
> 
> drwxr-xr-x   7 root     other        512 Mar 24 22:11 .
> drwxr-xr-x  19 root     staff        512 Mar 24 21:59 ..
> -r--------   1 root     other          0 Nov  4 21:25 .forward
> -r--------   1 root     other          0 Nov  4 21:25 .rhosts
> -rw-r--r--   1 root     other        479 Mar 24 22:15 .welcome.msg
> lrwxrwxrwx   1 root     other          7 Nov  4 20:51 bin -> usr/bin
> dr-xr-xr-x   2 root     other        512 Nov  4 21:06 dev
> dr-xr-xr-x   2 root     other        512 Nov  4 20:57 etc
> dr-xr-xr-x   5 root     other        512 Nov  4 20:49 usr
> drwxr-xr-x   4 webtest  web          512 Mar 24 22:25 webtest
> 
> Do I still have to build these directories in every ftp user's home
> directory?



From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 05:47:39 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA23589;
	Thu, 26 Mar 1998 05:47:38 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA29939;
	Thu, 26 Mar 1998 05:43:11 -0600 (CST)
Received: from fserver.fh-koblenz.de (fserver.fh-koblenz.de [143.93.145.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA00779
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 05:38:38 -0600 (CST)
Received: from ss1000e0.fhspool1 (ss1000e0.fh-koblenz.de [143.93.145.200])
          by fserver.fh-koblenz.de (8.8.8/8.8.8) with SMTP
	  id MAA10725; Thu, 26 Mar 1998 12:38:29 +0100 (MET)
Received: by ss1000e0.fhspool1 (SMI-8.6/SMI-SVR4)
	id MAA13972; Thu, 26 Mar 1998 12:37:37 +0100
Message-Id: <199803261137.MAA13972@ss1000e0.fhspool1>
Date: Thu, 26 Mar 1998 12:37:36 +0100 (MET)
Reply-To: mschmidt@Fh-Koblenz.DE
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mschmidt@Fh-Koblenz.DE (M. Schmidt)
To: wu-ftpd@wugate.wustl.edu
Cc: mschmidt@Fh-Koblenz.DE (M. Schmidt)
Subject: FTP shutdown problem
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

please excuse my ignorance, 
but I'm seeing the following curious effect:
When having used ftpshut and the machine has been rebooted 
even an other day then everyone trying ftp to this machine 
still gets a message "FTP server shut down, try again later".

It may be a silly question, but what has to be done to wake up 
ftpd again?

What am I missing?

I appreciate your help and feedback.

Have a nice time
Michael

-- 
                 Michael  Schmidt
              mschmidt@fh-koblenz.de
Mirror of:                              SAMBA:
IPFilter,                               Server for Win95,
Linux-HOWTO, XEmacs-beta                WinNT, LANManager

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 07:10:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id HAA25195;
	Thu, 26 Mar 1998 07:10:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA09587;
	Thu, 26 Mar 1998 07:05:25 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA09566
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 07:01:15 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id FAA14720
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 05:01:10 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA030649074; Thu, 26 Mar 1998 18:31:14 +0500
Message-Id: <199803261301.FAA14720@palrel1.hp.com>
Date: Thu, 26 Mar 1998 18:31:13 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: mschmidt@Fh-Koblenz.DE
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP shutdown problem
In-Reply-To: <199803261137.MAA13972@ss1000e0.fhspool1> from "M. Schmidt" at Mar "26," 1998 "12:37:36" pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

Check up your ftpaccess  file and find out the path of the shutdown file
from the  "shutdown"  directive.  Then remove the file from there.  That
is all you have to do before trying ftp to that machine.

Hope this will help you.

Regards,
Harshal
> 
> please excuse my ignorance, 
> but I'm seeing the following curious effect:
> When having used ftpshut and the machine has been rebooted 
> even an other day then everyone trying ftp to this machine 
> still gets a message "FTP server shut down, try again later".
> 
> It may be a silly question, but what has to be done to wake up 
> ftpd again?
> 
> What am I missing?
> 
> I appreciate your help and feedback.
> 
> Have a nice time
> Michael
> 
> -- 
>                  Michael  Schmidt
>               mschmidt@fh-koblenz.de
> Mirror of:                              SAMBA:
> IPFilter,                               Server for Win95,
> Linux-HOWTO, XEmacs-beta                WinNT, LANManager
> 


-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 07:29:45 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id HAA25332;
	Thu, 26 Mar 1998 07:29:44 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA10298;
	Thu, 26 Mar 1998 07:24:15 -0600 (CST)
Received: from fserver.fh-koblenz.de (fserver.fh-koblenz.de [143.93.145.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA09602
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 07:17:38 -0600 (CST)
Received: from ss1000e0.fhspool1 (ss1000e0.fh-koblenz.de [143.93.145.200])
          by fserver.fh-koblenz.de (8.8.8/8.8.8) with SMTP
	  id OAA24967; Thu, 26 Mar 1998 14:17:29 +0100 (MET)
Received: by ss1000e0.fhspool1 (SMI-8.6/SMI-SVR4)
	id OAA02238; Thu, 26 Mar 1998 14:16:36 +0100
Message-Id: <199803261316.OAA02238@ss1000e0.fhspool1>
Date: Thu, 26 Mar 1998 14:16:36 +0100 (MET)
Reply-To: mschmidt@Fh-Koblenz.DE
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mschmidt@Fh-Koblenz.DE (M. Schmidt)
To: harshalj@india.hp.com
Cc: mschmidt@Fh-Koblenz.DE, wu-ftpd@wugate.wustl.edu
Subject: Re: FTP shutdown problem
In-Reply-To: <199803261301.FAA14720@palrel1.hp.com> from "Harshal Savalia" at Mar 26, 98 06:31:13 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> From: Harshal Savalia <harshalj@india.hp.com>
> Subject: Re: FTP shutdown problem
> 
> Check up your ftpaccess  file and find out the path of the shutdown file
> from the  "shutdown"  directive.  Then remove the file from there.  That
> is all you have to do before trying ftp to that machine.

Hi,

thanks for your hint, that did it!

BTW:
As far as I have seen it isn't mentioned in the man pages or in other docs.
Did I skim too fast or is this hint really missing in any wu-ftpd docs/manpages?

> 
> Hope this will help you.

It did help!    Once more: thanks  :)

Have a nice time
Michael

-- 
                 Michael  Schmidt
              mschmidt@fh-koblenz.de
Mirror of:                              SAMBA:
IPFilter,                               Server for Win95,
Linux-HOWTO, XEmacs-beta                WinNT, LANManager

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 07:54:53 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id HAA25449;
	Thu, 26 Mar 1998 07:54:52 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA12224;
	Thu, 26 Mar 1998 07:45:22 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA11682
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 07:40:54 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id FAA23565
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 05:40:39 -0800 (PST)
Received: by sadhana.india.hp.com
	(1.37.109.20/16.2) id AA031101463; Thu, 26 Mar 1998 19:11:03 +0500
Message-Id: <199803261340.FAA23565@palrel3.hp.com>
Date: Thu, 26 Mar 1998 19:11:02 +0500 (IST)
Reply-To: harshalj@india.hp.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harshal Savalia <harshalj@india.hp.com>
To: wu-ftpd@wugate.wustl.edu
Cc: harshalj@india.hp.com (Harshal Savalia)
Subject: Problem with command line options 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

	I am  resending  this mail as no one replied me.  May be because
	the mail is too logn to read it.  In short  my  problem  is that
	until you specify "log  transfers"  directive in ftpaccess  file
	"-i" and "-o"  command line  options  have no effect.  Similarly
	until you specify "log  commands"  directive  "-L" command  line
	option  have no  effect.  If you need more  info.  then go thro'
	the mail attached below.  Please help me if you can!

Thanks,
Harshal

> 
> Hello,
> 
> 	I think there is a problem with the  "-L","-i"  and "-o" options
> 	used in the command line options of ftpd.
> 
> 	I have  started my ftpd daemon with the "-L" option.  I have not
> 	included "log commands" directive in my ftpaccess file.  Now man
> 	page for ftpd says as follow :
> 
> 	If the -L option  is  specified,  commands  sent to the  ftpd(8)
> 	     server  will be  logged to the  syslog.  The -L  option  is
> 	     over-ridden  by the  ftpaccess(5)  file.  If the -L flag is
> 	     used, command  logging will be on by default as soon as the
> 	     ftp  server is  invoked.  This will cause the server to log
> 	     all USER commands,  which if a user  accidentally  enters a
> 	     password for that  command  instead of the  username,  will
> 	     cause passwords to be logged via syslog.
> 
> 	So according to man page it should log all USER commands.  But I
> 	noticed that until you include "log  commands"  directive in the
> 	ftpaccess file it won't log the information.
> 
> 	In the file access.c the function acl_setfunctions() initializes
> 	log_commands  variable  to zero.  I think this is the cause that
> 	suppresses the effect of "-L" command line option.
> 
> 	Similar things  happened when I started ftpd daemon with command
> 	line  options  "-i" and "-o".  It is not logging  file  transfer
> 	information  in xferlog  file until you include "log  transfers"
> 	directive in the ftpaccess file.
> 
> 	It can happen  that I have  interpreted  the thing  incorrectly.
> 	Can any one throw light on this matter.
> 
> 	Thanks in advance.
> 
> Regards,
> Harshal
> 
-- 
-------------------------------------------------------------------------------
Harshal Savalia					email : harshalj@india.hp.com
-------------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 09:04:26 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA26019;
	Thu, 26 Mar 1998 09:04:13 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA16183;
	Thu, 26 Mar 1998 09:01:54 -0600 (CST)
Received: from zool.interaccess.com (zool.interaccess.com [198.80.1.33])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA14873
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 08:58:55 -0600 (CST)
Received: from fwcmuucp.UUCP (fwcmuucp@localhost) by zool.interaccess.com (8.8.3/8.7.5) with UUCP id IAA07447 for wu-ftpd@wugate.wustl.edu; Thu, 26 Mar 1998 08:26:40 -0600 (CST)
Message-Id: <980326.084447@filmworkers.com>
Date: 26 Mar 98 08:44:47 +0000
Reply-To: toddf@filmworkers.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Todd Freese <toddf@filmworkers.com>
To: wu-ftpd list <wu-ftpd@wugate.wustl.edu>
Subject: wu-ftpd not chrooting
MIME-Version: 1.0
Content-Type: text/plain;
    charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: InterCall 1.2
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id IAA15904
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I just setup wu-ftpd running on IRIX 6.2. Everything is working except for the
chroot. Real users can cd up past the ftp root area. Anonymous users are getting
chroot correctly. Any ideas here? 
Here is the /etc/passwd entry:
engineer:mypasswd:115:100:FWC Eng FTP Acct:/var/ftpdir/./:/bin/true

Here is the ~ftp/etc/passwd entry:
engineer:*:115:100:FWC Eng FTP Acct::

Here is my ftpaccess file:
class   all   real,anonymous  *

limit   all   10   Any              /etc/msgs/msg.dead

message /welcome.msg            login
message .message                cwd=*

compress        no             local remote
tar             no             local remote

log commands real,anonymous
log transfers anonymous,real inbound,outbound

shutdown /etc/msg/welcome.msg

Todd Freese

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 09:10:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA26081;
	Thu, 26 Mar 1998 09:10:03 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA02783;
	Thu, 26 Mar 1998 09:07:55 -0600 (CST)
Received: from gaia.vr.net (lundberg@gaia.vr.net [205.133.13.5])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA24671
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 09:06:54 -0600 (CST)
Received: from localhost (lundberg@localhost)
	by gaia.vr.net (8.8.5/8.8.5) with SMTP id KAA22346;
	Thu, 26 Mar 1998 10:06:51 -0500
Message-Id: <Pine.LNX.3.95.980326100615.21849B-100000@gaia.vr.net>
Date: Thu, 26 Mar 1998 10:06:51 -0500 (EST)
Reply-To: lundberg@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg@vr.net>
To: Todd Freese <toddf@filmworkers.com>
Cc: wu-ftpd list <wu-ftpd@wugate.wustl.edu>
Subject: Re: wu-ftpd not chrooting
In-Reply-To: <980326.084447@filmworkers.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On 26 Mar 1998, Todd Freese wrote:

> I just setup wu-ftpd running on IRIX 6.2. Everything is working except for the
> chroot. Real users can cd up past the ftp root area. Anonymous users are getting
> chroot correctly. Any ideas here? 

Read the guest howto ...

The location of the latest version of wu-ftpd can be found in the 
directory
 
      ftp://ftp.academ.com/pub/wu-ftpd/private/
 
You can't see the directory contents, so read the message informing you
of the actual filename to retrieve. It's there.
 
wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd FAQ:              http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

----

Gregory A Lundberg		Senior Partner, VRnet Company
1441 Elmdale Drive              email: lundberg@vr.net [205.133.13.8]
Kettering, OH 45409-1615 USA    voice: +1 (937) 299-7653


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 10:09:16 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA26693;
	Thu, 26 Mar 1998 10:09:15 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA23320;
	Thu, 26 Mar 1998 10:05:57 -0600 (CST)
Received: from kn2ims1.mx.koc.net (kn2ims1.mx.koc.net [193.243.207.12])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA22771
	for <wu-ftpd@mail.wustl.edu>; Thu, 26 Mar 1998 10:03:36 -0600 (CST)
Received: by kn2ims1.mx.koc.net with Internet Mail Service (5.0.1460.8)
	id <HFJ0D9T9>; Thu, 26 Mar 1998 18:05:12 +0200
Message-Id: <074EFD265672D11189D600E02910EE6F0FA15E@kn6srv1.mx.koc.net>
Date: Thu, 26 Mar 1998 18:03:47 +0200
Reply-To: didema@koc.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: didema@koc.net
To: wu-ftpd@wugate.wustl.edu
Subject: ftp mirroring
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="---- =_NextPart_000_01BD58D0.F455DBD0"
X-MS-TNEF-Correlator: <074EFD265672D11189D600E02910EE6F0FA15E@kn6srv1.mx.koc.net>
X-Mailer: Internet Mail Service (5.0.1460.8)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_000_01BD58D0.F455DBD0
Content-Type: text/plain;
	charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable



hi...
I have wu-ftpd anonymous ftp server.It works fine.but...I want  mirror =
of
any ftp site
How can =FD mirror any ftp site  in my ftp site?
Should I buy software for it?
Should I download script for it?if answer is yes ,where ?
thanks in advance for help


------ =_NextPart_000_01BD58D0.F455DBD0
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+Ig0QAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5gQAAAAAAADqAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAAzgcDABoAEgADAC8ABAA6AQEggAMADgAAAM4HAwAa
ABIABQALAAQAGAEBCYABACEAAABEODNEMkIxRjlDQzJEMTExODlERDAwRTAyOTEwRUU2RgBGBwEE
gAEADgAAAGZ0cCBtaXJyb3JpbmcAQwUBDYAEAAIAAAACAAIAAQOQBgCIBgAALQAAAAMAAYAIIAYA
AAAAAMAAAAAAAABGAAAAAFKFAADpDgAAHgACgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAE
AAAAOC4wAAMAA4AIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAEgAggBgAAAAAAwAAAAAAA
AEYAAAAAA4UAAAAAAAALAAWACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMABoAIIAYAAAAA
AMAAAAAAAABGAAAAABCFAAAAAAAAAwAHgAggBgAAAAAAwAAAAAAAAEYAAAAAEYUAAAAAAAADAAmA
CCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAB4ACoAIIAYAAAAAAMAAAAAAAABGAAAAADaFAAAB
AAAAAQAAAAAAAAAeAAuACCAGAAAAAADAAAAAAAAARgAAAAA3hQAAAQAAAAEAAAAAAAAAHgAMgAgg
BgAAAAAAwAAAAAAAAEYAAAAAOIUAAAEAAAABAAAAAAAAAAIBCRABAAAAbQEAAGkBAAAFAgAATFpG
dVa2v4UDAAoAcmNwZzEyNdI0APszNgHoIAKkA+MJAgBjaArAc2V0MVQ2MgAAKgLhYQeAIOcHEwKA
BxMgVAhwAoMAUGcC8hC6EtBhaANxAoB9swqACMggOwlvDjA1AoC5CoF1YwBQCwMLYG4OEL4wFyAC
sgqxCoQKgWMAQY8MMhNSC/AUcGhpLhrAJRjUSRqQYXYR8Hd14i0BgHBkIABwAiAGwFcIYAQgG/Eg
ERByG5By1C5JBUB3BbBrHMELgGBlLmJ1dBrBG1B3wwBwBUAgbWlyA2AFwBRvZhwxeRzUaXRlqRjU
SG8H4GMDkicFcL8fRh/6HzALgB9AIBg/GNTyUxSwdWwcIBtQHnAgEPpzH8B0HvAJcBzQBbEggNUk
HmQhIG4JAGEcIAT1fyXlBpAcMQPgBJAjIAQgeXEHkSx3aASQEfAkFXRdEOBuHfEjMSegdgBwY7Ml
xCngbHAY2hURAC1AAAAACwACAAEAAAAeAHAAAQAAAA4AAABmdHAgbWlycm9yaW5nAAAAAgFxAAEA
AAAWAAAAAb1Y4WnCYAGdDsS4EdG1rADgKQ+j1wAAQAA5AKZdVsLQWL0BAwDxPwkEAAAeADFAAQAA
AAcAAABESURFTUEAAAMAGkAAAAAAHgAwQAEAAAAHAAAARElERU1BAAADABlAAAAAAAMA/T/mBAAA
AwAmAAAAAAADADYAAAAAAAMAgBD/////AgFHAAEAAAAtAAAAYz1UUjthPSA7cD1LT0M7bD1LTjZT
UlYxLTk4MDMyNjE2MDM0N1otMzg0NzUAAAAAAgH5PwEAAABKAAAAAAAAANynQMjAQhAatLkIACsv
4YIBAAAAAAAAAC9PPUtPQy9PVT1NR01ULUtPQ05FVC9DTj1SRUNJUElFTlRTL0NOPURJREVNQQAA
AB4A+D8BAAAAGAAAAERpZGVtIEF5ZP1uZXIgKEtv5y5OZXQpAB4AOEABAAAABwAAAERJREVNQQAA
AgH7PwEAAABKAAAAAAAAANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPUtPQy9PVT1NR01ULUtP
Q05FVC9DTj1SRUNJUElFTlRTL0NOPURJREVNQQAAAB4A+j8BAAAAGAAAAERpZGVtIEF5ZP1uZXIg
KEtv5y5OZXQpAB4AOUABAAAABwAAAERJREVNQQAAQAAHMEz7U8LQWL0BQAAIMNDbVfTQWL0BHgA9
AAEAAAABAAAAAAAAAB4AHQ4BAAAADgAAAGZ0cCBtaXJyb3JpbmcAAAAeADUQAQAAADwAAAA8MDc0
RUZEMjY1NjcyRDExMTg5RDYwMEUwMjkxMEVFNkYwRkExNUVAa242c3J2MS5teC5rb2MubmV0PgAL
ACkAAAAAAAsAIwAAAAAAAwAGEOkKZJEDAAcQxQAAAAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUA
AABISUlIQVZFV1UtRlRQREFOT05ZTU9VU0ZUUFNFUlZFUklUV09SS1NGSU5FQlVUSVdBTlRNSVJS
T1JPRkFOWUZUUFNJVEVIT1dDQU79TUlSUk9SQU5ZRlRQU0lURUlOTVlGVFBTAAAAAAIBfwABAAAA
PAAAADwwNzRFRkQyNjU2NzJEMTExODlENjAwRTAyOTEwRUU2RjBGQTE1RUBrbjZzcnYxLm14Lmtv
Yy5uZXQ+AL5U

------ =_NextPart_000_01BD58D0.F455DBD0--

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 11:06:28 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA27273;
	Thu, 26 Mar 1998 11:06:24 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA12987;
	Thu, 26 Mar 1998 11:02:55 -0600 (CST)
Received: from onyx.mc.duke.edu (onyx.mc.duke.edu [152.3.40.230])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA28439
	for <wu-ftpd@mail.wustl.edu>; Thu, 26 Mar 1998 11:02:02 -0600 (CST)
Received: by ONYX.mc.duke.edu with Internet Mail Service (5.0.1458.49)
	id <GTL5SVK2>; Thu, 26 Mar 1998 12:04:16 -0500
Message-Id: <1D9B7E8C047BD011B82400805FC1C2B301ADB62D@ONYX.mc.duke.edu>
Date: Thu, 26 Mar 1998 12:04:14 -0500
Reply-To: hepp0001@onyx.mc.duke.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Hepp, Paul" <hepp0001@onyx.mc.duke.edu>
To: "'WU-FTPD list server'" <wu-ftpd@wugate.wustl.edu>
Subject: Sun Patch fix to Solaris 5.5.1 ftp  and in.ftpd
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi all,
I have wu-ftpd 2.4.2 - beta 14 installed. I found this patch at Sun
Solve. Will 2.4.2b14 break if I install the attached patch? I think it
will.
 Has anyone run into this?
I am a novice, any and all help is needed.
Paul
hepp0001@onyx.mc.duke.edu 


Patch-ID# 103603-07
Keywords: security ftp nfs memory leak core getreply domap rsh rexec
in.ftpd
Synopsis: SunOS 5.5.1: ftp, in.ftpd, in.rexecd and in.rshd patch
Date: Mar/02/98

Solaris Release: 2.5.1

SunOS Release: 5.5.1

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 103604

Topic: SunOS 5.5.1: ftp, in.ftpd, in.rexecd and in.rshd patch

BugId's fixed with this patch: 1144333 1198215 1246408 1249667 1251275
1255435
                               1256632 4066864 

Changes incorporated in this version: 4066864

Relevant Architectures: sparc

Patches accumulated and obsoleted by this patch:  

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch:

/usr/bin/ftp
/usr/sbin/in.ftpd
/usr/sbin/in.rexecd
/usr/sbin/in.rshd

Problem Description:

4066864 in.rexecd does not prevent access to expired accounts

(from 103603-06)

1144333 ftp abuses malloc/free - Segmentation Fault at multiple mput

(from 103603-05)

1246408 ftp may be used to get root access from port 20 to other
machines

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 12:21:45 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id MAA27941;
	Thu, 26 Mar 1998 12:21:44 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA02916;
	Thu, 26 Mar 1998 12:19:22 -0600 (CST)
Received: from genesis.truepath.com (root@genesis.truepath.com [209.75.119.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA01949
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 12:18:09 -0600 (CST)
Received: from gil-s-pc (sc22-17-86.thegrid.net [209.162.17.86]) by genesis.truepath.com (8.8.7/8.6.9) with SMTP id KAA17233 for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 10:18:14 -0800
Message-Id: <199803261015090490.017E328F@mail.truepath.com>
Date: Thu, 26 Mar 1998 10:15:09 -0800
Reply-To: gil@truepath.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "gil vidals" <gil@truepath.com>
To: wu-ftpd@wugate.wustl.edu
Subject: limiting number of sub directories
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Mailer: Calypso Evaluation Version 2.40.40
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id MAA02381
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

How can I setup wuftpd to control the number of sub directories users are permitted to create. I'd like to allow 0 or 1 or at the most 2 sub directories. 

Thanks,
Gil


http://www.truepath.com
<<the cool site for Christians>>
FREE homepages for Christians


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 14:02:34 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA29571;
	Thu, 26 Mar 1998 14:02:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA09851;
	Thu, 26 Mar 1998 14:00:42 -0600 (CST)
Received: from sun.alegria.com (sun.alegria.com [204.216.9.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA08272
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 13:57:54 -0600 (CST)
Received: from rob by sun.alegria.com with local (Exim 1.82 #2)
	id 0yIImB-0000vX-00; Thu, 26 Mar 1998 11:57:23 -0800
Message-Id: <E0yIImB-0000vX-00@sun.alegria.com>
Date: Thu, 26 Mar 1998 11:57:23 -0800
Reply-To: Rob Lingelbach <rob@alegria.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rob@alegria.com (Rob Lingelbach)
To: wu-ftpd@wugate.wustl.edu
Subject: root access?
X-Sender: Rob Lingelbach <rob@sun.alegria.com>
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have two machines, both running Solaris 2.6, each has the same
version of wu-ftpd (2.4.2-beta15).  Both have identical ftpaccess
files...  but on one machine, I can login to ftpd as root, on the
other I can't.  I am running ftpd via tcpd.   any ideas? thanks.

--Rob

-- 
Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
rob@alegria.com         |"I care not much for a man's religion whose dog or 
rob@info.com            |  cat is not the better for it."  --Abraham Lincoln
rob@teklab.com                    KB6CUN   http://www.alegria.com

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 14:46:47 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA29835;
	Thu, 26 Mar 1998 14:46:45 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA13409;
	Thu, 26 Mar 1998 14:44:59 -0600 (CST)
Received: from wronski.math.uwaterloo.ca (root@wronski.math.uwaterloo.ca [129.97.204.45])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA12541
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 14:43:39 -0600 (CST)
Received: from napier.uwaterloo.ca (memmerto@napier.uwaterloo.ca [129.97.204.7])
	by wronski.math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id PAA13895;
	Thu, 26 Mar 1998 15:43:16 -0500 (EST)
Received: from localhost (memmerto@localhost)
	by napier.uwaterloo.ca (8.8.8/8.8.8) with SMTP id PAA28193;
	Thu, 26 Mar 1998 15:43:15 -0500 (EST)
Message-Id: <Pine.SUN.3.95q.980326154254.28150A-100000@napier.uwaterloo.ca>
Date: Thu, 26 Mar 1998 15:43:14 -0500 (EST)
Reply-To: memmerto@undergrad.math.uwaterloo.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Matthew Emmerton <memmerto@undergrad.math.uwaterloo.ca>
To: Rob Lingelbach <rob@alegria.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: root access?
In-Reply-To: <E0yIImB-0000vX-00@sun.alegria.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: napier.uwaterloo.ca: memmerto owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Check your ftpusers files on both machines.

-- 
Matthew Emmerton
University of Waterloo - 2A Computer Science / Software Engineering
Students Advising Coop - Webmaster and PAC Member

On Thu, 26 Mar 1998, Rob Lingelbach wrote:

> I have two machines, both running Solaris 2.6, each has the same
> version of wu-ftpd (2.4.2-beta15).  Both have identical ftpaccess
> files...  but on one machine, I can login to ftpd as root, on the
> other I can't.  I am running ftpd via tcpd.   any ideas? thanks.
> 
> --Rob
> 
> -- 
> Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
> rob@alegria.com         |"I care not much for a man's religion whose dog or 
> rob@info.com            |  cat is not the better for it."  --Abraham Lincoln
> rob@teklab.com                    KB6CUN   http://www.alegria.com
> 


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 14:53:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA29907;
	Thu, 26 Mar 1998 14:53:05 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA12445;
	Thu, 26 Mar 1998 14:51:24 -0600 (CST)
Received: from nms100.rz.uni-kiel.de (nms100.rz.uni-kiel.de [134.245.1.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA07305
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 14:47:49 -0600 (CST)
Received: from marvin.bwl.uni-kiel.de by nms100.rz.uni-kiel.de 
          with Local-SMTP (PP) id <23271-0@nms100.rz.uni-kiel.de>;
          Thu, 26 Mar 1998 21:53:49 +0100
Received: by marvin.bwl.uni-kiel.de (AIX 3.2/UCB 5.64/4.03) id AA22264;
          Thu, 26 Mar 1998 21:44:42 +0100
Message-Id: <9803262044.AA22264@marvin.bwl.uni-kiel.de>
Date: Thu, 26 Mar 1998 21:44:42 +0100 (NFT)
Reply-To: u1377@bwl.uni-kiel.de
Sender: owner-wu-ftpd@wugate.wustl.edu
From: u1377@bwl.uni-kiel.de (Josef Siemes)
To: wu-ftpd@wugate.wustl.edu (wu-ftp Mailinglist)
Subject: Re: root access?
In-Reply-To: <E0yIImB-0000vX-00@sun.alegria.com> from "Rob Lingelbach" at Mar 26, 98 11:57:23 am
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> 
> I have two machines, both running Solaris 2.6, each has the same
> version of wu-ftpd (2.4.2-beta15).  Both have identical ftpaccess
> files...  but on one machine, I can login to ftpd as root, on the
> other I can't.  I am running ftpd via tcpd.   any ideas? thanks.

My version (also beta-15) logs this:

ftpd[9903]: command: USER root
ftpd[9903]: <--- 530 
ftpd[9903]: User root access denied
ftpd[9903]: FTP LOGIN REFUSED (bad shell or username in /etc/ftpusers) 
            FROM [..]

So maybe it's /etc/shells or /etc/ftpusers.

Regards,

Josef


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 14:53:56 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id OAA29923;
	Thu, 26 Mar 1998 14:53:56 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA14653;
	Thu, 26 Mar 1998 14:52:15 -0600 (CST)
Received: from mailserver.cnf.com (mailserver.cnf.com [205.185.108.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA04112
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 14:49:33 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
	by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id MAA28562
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 12:49:25 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
	id <HSQ2D6D7>; Thu, 26 Mar 1998 12:49:16 -0800
Message-Id: <6985723206B8D011BA180000F8043BDC03FBFB8B@cnfvs008.cnf.com>
Date: Thu, 26 Mar 1998 12:49:14 -0800
Reply-To: Speier.Guy@cnf.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Speier, Guy J - CNF" <Speier.Guy@cnf.com>
To: wu-ftpd@wugate.wustl.edu, "'Rob Lingelbach'" <rob@alegria.com>
Subject: RE: root access?
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

check your ftpusers file on
each machine.  the one where root cannot ftp
in probably has root as an entry

> ----------
> From: 	rob@alegria.com[SMTP:rob@alegria.com]
> Reply To: 	Rob Lingelbach
> Sent: 	Thursday, March 26, 1998 11:57 AM
> To: 	wu-ftpd@wugate.wustl.edu
> Subject: 	root access?
> 
> I have two machines, both running Solaris 2.6, each has the same
> version of wu-ftpd (2.4.2-beta15).  Both have identical ftpaccess
> files...  but on one machine, I can login to ftpd as root, on the
> other I can't.  I am running ftpd via tcpd.   any ideas? thanks.
> 
> --Rob
> 
> -- 
> Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
> rob@alegria.com         |"I care not much for a man's religion whose
> dog or 
> rob@info.com            |  cat is not the better for it."  --Abraham
> Lincoln
> rob@teklab.com                    KB6CUN   http://www.alegria.com
> 

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 15:26:02 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA00179;
	Thu, 26 Mar 1998 15:26:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA16912;
	Thu, 26 Mar 1998 15:23:47 -0600 (CST)
Received: from sun.alegria.com (sun.alegria.com [204.216.9.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA08754
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 15:22:17 -0600 (CST)
Received: from rob by sun.alegria.com with local (Exim 1.82 #2)
	id 0yIK5p-0001YX-00; Thu, 26 Mar 1998 13:21:45 -0800
Message-Id: <E0yIK5p-0001YX-00@sun.alegria.com>
Date: Thu, 26 Mar 1998 13:21:45 -0800
Reply-To: Rob Lingelbach <rob@alegria.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rob@alegria.com (Rob Lingelbach)
To: memmerto@undergrad.math.uwaterloo.ca
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: root access?
In-Reply-To: Matthew Emmerton <memmerto@undergrad.math.uwaterloo.ca>
       "Re: root access?" (Mar 26, 15:43)
X-Sender: Rob Lingelbach <rob@sun.alegria.com>
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mar 26, 15:43, Matthew Emmerton wrote:
} Subject: Re: root access?

> 
> Check your ftpusers files on both machines.
> 

neither machine has an ftpusers file, /etc/shells is the same on each
machine, and ftp is in neither machine's /etc/passwd (anonymous ftp is
disabled).


-- 
Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
rob@alegria.com         |"I care not much for a man's religion whose dog or 
rob@info.com            |  cat is not the better for it."  --Abraham Lincoln
rob@teklab.com                    KB6CUN   http://www.alegria.com

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 15:44:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id PAA00314;
	Thu, 26 Mar 1998 15:44:17 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA18347;
	Thu, 26 Mar 1998 15:42:29 -0600 (CST)
Received: from gaia.vr.net (lundberg@gaia.vr.net [205.133.13.5])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA15419
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 15:38:07 -0600 (CST)
Received: from localhost (lundberg@localhost)
	by gaia.vr.net (8.8.5/8.8.5) with SMTP id QAA02024;
	Thu, 26 Mar 1998 16:37:47 -0500
Message-Id: <Pine.LNX.3.95.980326163643.1768A-100000@gaia.vr.net>
Date: Thu, 26 Mar 1998 16:37:47 -0500 (EST)
Reply-To: lundberg@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg@vr.net>
To: Rob Lingelbach <rob@alegria.com>
Cc: memmerto@undergrad.math.uwaterloo.ca, wu-ftpd@wugate.wustl.edu
Subject: Re: root access?
In-Reply-To: <E0yIK5p-0001YX-00@sun.alegria.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, 26 Mar 1998, Rob Lingelbach wrote:

> neither machine has an ftpusers file, /etc/shells is the same on each
> machine, and ftp is in neither machine's /etc/passwd (anonymous ftp is
> disabled).

you use diff or sight-verify?  look for typos in /etc/passwd /etc/shells
and/or ftpaccess

----

Gregory A Lundberg		Senior Partner, VRnet Company
1441 Elmdale Drive              email: lundberg@vr.net [205.133.13.8]
Kettering, OH 45409-1615 USA    voice: +1 (937) 299-7653


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 17:27:25 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA01109;
	Thu, 26 Mar 1998 17:27:25 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA26882;
	Thu, 26 Mar 1998 17:25:39 -0600 (CST)
Received: from mysa.qualcomm.com (mysa.qualcomm.com [129.46.52.23])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA26173
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 17:21:27 -0600 (CST)
Received: from pcuevas (pcuevas.qualcomm.com [129.46.7.193]) by mysa.qualcomm.com (8.8.5/1.4/8.7.2/1.14) with SMTP id PAA02699 for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 15:21:22 -0800 (PST)
Message-Id: <199803262321.PAA02699@mysa.qualcomm.com>
Date: Thu, 26 Mar 1998 15:21:16 -0800
Reply-To: pcuevas@qualcomm.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Patrick Cuevas <pcuevas@qualcomm.com>
To: wu-ftpd@wugate.wustl.edu
Subject: guest access problems.
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: pcuevas@odd.qualcomm.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



Hello,

	I am trying to set up guest access ftp accounts.  I have gotten the set up
so that the chroot is working correctly.  When I try to put something to
the account it says it that the command is successful but when I look in
the dir there is nothing in the file.  Also when ever I try to do a 'ls' it
gives the following error

Can't create data socket (0.0.0.0,20): Bad file number.

Looking at the FAQ it appears to be due to a missing lib.  I tried adding
local to the account directories that should fix it but they do not appear
to work. 

ftpaccount/bin
				/ls (I cp'd it as per the instructions in the guest account how to)
			/etc
				/passwd (also set up as per guest account how to)
				/group	(ftp://ftp.fni.com/pub/wu-ftpd/guest-howto)
			/lib
				/lb.so
				/lb.so.1
				/libc.so
				/libdl.so

All the file and dir permissions where changed according to the FAQ.

The machine that it is running on is a Sparc running Solaris 5.5, and the
version of wu_ftp is b13.

I don't know what I am missing....if any one can help I would greatly
appreciate it.

Patrick Cuevas

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 19:08:50 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA02036;
	Thu, 26 Mar 1998 19:08:49 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA24159;
	Thu, 26 Mar 1998 19:06:58 -0600 (CST)
Received: from mysa.qualcomm.com (mysa.qualcomm.com [129.46.52.23])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA30720
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 19:04:23 -0600 (CST)
Received: from pcuevas (pcuevas.qualcomm.com [129.46.7.193]) by mysa.qualcomm.com (8.8.5/1.4/8.7.2/1.14) with SMTP id RAA25249 for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 17:04:22 -0800 (PST)
Message-Id: <199803270104.RAA25249@mysa.qualcomm.com>
Date: Thu, 26 Mar 1998 17:04:16 -0800
Reply-To: pcuevas@qualcomm.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Patrick Cuevas <pcuevas@qualcomm.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: guest access problems.
In-Reply-To: <199803262321.PAA02699@mysa.qualcomm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: pcuevas@odd.qualcomm.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Thanks for the responses...I figured it out I added in /dev/zero /tcp /udp
into the usr dirs and that cleared it up.

Patrick

At 03:21 PM 3/26/98 -0800, Patrick Cuevas wrote:
>
>
>Hello,
>
>	I am trying to set up guest access ftp accounts.  I have gotten the set up
>so that the chroot is working correctly.  When I try to put something to
>the account it says it that the command is successful but when I look in
>the dir there is nothing in the file.  Also when ever I try to do a 'ls' it
>gives the following error
>
>Can't create data socket (0.0.0.0,20): Bad file number.
>
>Looking at the FAQ it appears to be due to a missing lib.  I tried adding
>local to the account directories that should fix it but they do not appear
>to work. 
>
>ftpaccount/bin
>				/ls (I cp'd it as per the instructions in the guest account how to)
>			/etc
>				/passwd (also set up as per guest account how to)
>				/group	(ftp://ftp.fni.com/pub/wu-ftpd/guest-howto)
>			/lib
>				/lb.so
>				/lb.so.1
>				/libc.so
>				/libdl.so
>
>All the file and dir permissions where changed according to the FAQ.
>
>The machine that it is running on is a Sparc running Solaris 5.5, and the
>version of wu_ftp is b13.
>
>I don't know what I am missing....if any one can help I would greatly
>appreciate it.
>
>Patrick Cuevas
> 

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 19:14:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA02108;
	Thu, 26 Mar 1998 19:14:39 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA01879;
	Thu, 26 Mar 1998 19:13:00 -0600 (CST)
Received: from scud.pronet.net.au (scud.pronet.net.au [203.34.103.243])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA01468
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 19:11:01 -0600 (CST)
Received: (qmail 12870 invoked from network); 27 Mar 1998 01:07:22 -0000
Received: from dud155.pronet.net.au (HELO pronet.net.au) (tommiy@202.139.16.155)
  by scud.pronet.net.au with SMTP; 27 Mar 1998 01:07:22 -0000
Message-Id: <351AFDBE.9E34449@pronet.net.au>
Date: Fri, 27 Mar 1998 11:15:42 +1000
Reply-To: tommiy@pronet.net.au
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tommiy <tommiy@pronet.net.au>
To: wu-ftpd@wugate.wustl.edu
Subject: ftpaccess filter
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: tommiy
X-Mailer: Mozilla 4.03 [en] (X11; I; Linux 2.0.32 i586)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am trying to allow spaces in my file name using the ftpaccess filter.
The problem is if i add a space to the character list then the daemon
parses the filter on that space and when you try and create a directory
it complains that it never found the closing ] from the char list.

Similarly since it is a character list you cant place a metacharacter
inside it.

Does any one know how to create a filter for ftpaccess that allows
A-Za-z0-9 and a space???


From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 19:33:57 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA02313;
	Thu, 26 Mar 1998 19:33:56 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA03038;
	Thu, 26 Mar 1998 19:32:10 -0600 (CST)
Received: from sun.alegria.com (sun.alegria.com [204.216.9.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA27346
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 19:30:32 -0600 (CST)
Received: from rob by sun.alegria.com with local (Exim 1.82 #2)
	id 0yINxx-00039T-00; Thu, 26 Mar 1998 17:29:53 -0800
Message-Id: <E0yINxx-00039T-00@sun.alegria.com>
Date: Thu, 26 Mar 1998 17:29:53 -0800
Reply-To: Rob Lingelbach <rob@alegria.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rob@alegria.com (Rob Lingelbach)
To: Gregory A Lundberg <lundberg@vr.net>
Cc: memmerto@undergrad.math.uwaterloo.ca, wu-ftpd@wugate.wustl.edu
Subject: Re: root access?
In-Reply-To: Gregory A Lundberg <lundberg@vr.net>
       "Re: root access?" (Mar 26, 16:37)
X-Sender: Rob Lingelbach <rob@sun.alegria.com>
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mar 26, 16:37, Gregory A Lundberg wrote:
} Subject: Re: root access?

> you use diff or sight-verify?  look for typos in /etc/passwd /etc/shells
> and/or ftpaccess

thanks, I'll try that next (diff and cmp) on the binaries and the
files.

in the meantime I've decided to take your advice and prevent root
access to ftpd from the net :]

--Rob



-- 
Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
rob@alegria.com         |"I care not much for a man's religion whose dog or 
rob@info.com            |  cat is not the better for it."  --Abraham Lincoln
rob@teklab.com                    KB6CUN   http://www.alegria.com

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 21:41:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id VAA03657;
	Thu, 26 Mar 1998 21:41:39 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA31951;
	Thu, 26 Mar 1998 21:39:18 -0600 (CST)
Received: from sun.alegria.com (sun.alegria.com [204.216.9.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA02532
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 21:32:28 -0600 (CST)
Received: from rob by sun.alegria.com with local (Exim 1.82 #2)
	id 0yIPs3-0003qR-00; Thu, 26 Mar 1998 19:31:55 -0800
Message-Id: <E0yIPs3-0003qR-00@sun.alegria.com>
Date: Thu, 26 Mar 1998 19:31:55 -0800
Reply-To: Rob Lingelbach <rob@alegria.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rob@alegria.com (Rob Lingelbach)
To: TTSG <ttsg@ttsg.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: root access? (fwd)
In-Reply-To: TTSG <ttsg@ttsg.com>
       "Re: root access? (fwd)" (Mar 26, 22:11)
X-Sender: Rob Lingelbach <rob@sun.alegria.com>
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mar 26, 22:11, TTSG wrote:
} Subject: Re: root access? (fwd)

> 	No.  Ok, are you sure that the shell root has in /etc/passwd,
> is in /etc/shells?  And if there is an /etc/ftpusers, that root isn't in
> it. And if there isn't an /etc/ftpusers, create on with something like
> "uucp" in it.

you were right... it was the fact that the shell in /etc/passwd for
root is /sbin/sh and in /etc/shells it was /bin/sh!

thanks again.
--Rob





-- 
Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
rob@alegria.com         |"I care not much for a man's religion whose dog or 
rob@info.com            |  cat is not the better for it."  --Abraham Lincoln
rob@teklab.com                    KB6CUN   http://www.alegria.com

From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 22:14:11 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id WAA04103;
	Thu, 26 Mar 1998 22:14:10 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA15704;
	Thu, 26 Mar 1998 22:12:22 -0600 (CST)
Received: from blueox.bji.net (root@BLUEOX.bji.net [206.191.210.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA15194
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 22:09:01 -0600 (CST)
Received: from server ([206.191.210.78])
          by blueox.bji.net (8.8.8/8.8.8) with SMTP
	  id WAA26711 for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 22:09:01 -0600
Message-Id: <3.0.5.32.19980326220835.007ad9b0@bji.net>
Date: Thu, 26 Mar 1998 22:08:35 -0600
Reply-To: mpowers@bji.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Maurice Powers <mpowers@bji.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Troubles with guest access
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mpowers@bji.net
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello!

I am going through a set of instructions here to limit guest accounts to
their home directory.  I have gone through this 3 times now, and I have
gotten no different results.

I am a rookie at this so some things I am just ignorant on, please bear
with me.

I am using Slackware Linux 3.3 /w kernel 2.0.32.  I I am not sure what
version of wu-ftpd I have and I am unsure how to even find that information.

What I am seeing is: when I log in with a guest account, I get the
restriction that I need to prevent me from getting into a higher directory,
but I get no listing of the contents of my directory.  I have tried in my
~/bin directory a "soft" and a "hard" link for ls, and neither makes a
difference.

I am not on this list and I am unsure of even how to join it.  So, if
someone could let me know, I would be pleased.  Also, I have looked for a
web site for wu-ftpd.  I am sure that there is one, but I am unsure of
where it is.  Any and all help with this will be appreciated!

Thanks!




From owner-wu-ftpd@wugate.wustl.edu  Thu Mar 26 23:54:52 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id XAA05021;
	Thu, 26 Mar 1998 23:54:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA20666;
	Thu, 26 Mar 1998 23:53:07 -0600 (CST)
Received: from news.dcn-asu.ru. (news.dcn-asu.ru [194.226.214.40])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA16891
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Mar 1998 23:46:41 -0600 (CST)
Received: from news.dcn-asu.ru by news.dcn-asu.ru. (SMI-8.6/SMI-SVR4)
	id XAA08291; Thu, 26 Mar 1998 23:45:29 -0600
Message-Id: <351B3CF8.9ACEE256@news.dcn-asu.ru>
Date: Thu, 26 Mar 1998 23:45:28 -0600
Reply-To: sae@news.dcn-asu.ru
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alex Shavkun <sae@news.dcn-asu.ru>
To: didema@koc.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp mirroring
References: <074EFD265672D11189D600E02910EE6F0FA15E@kn6srv1.mx.koc.net>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="MimeMultipartBoundary"
X-Sender: sae@newsreader.wustl.edu
X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

--MimeMultipartBoundary
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit

didema@koc.net wrote:

> hi...
> I have wu-ftpd anonymous ftp server.It works fine.but...I want  mirror of
> any ftp site
> How can ý mirror any ftp site  in my ftp site?
> Should I buy software for it?
> Should I download script for it?if answer is yes ,where ?
> thanks in advance for help
>
>   ------------------------------------------------------------------------
>

Try mirror program.ftp://ftp.dcn-asu.ru/pub/unix/ftpd/mirror-2.8.tar.gz.

Bye.
Alex.



--MimeMultipartBoundary--

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 27 05:47:45 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA17586;
	Fri, 27 Mar 1998 05:47:44 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA11785;
	Fri, 27 Mar 1998 05:46:02 -0600 (CST)
Received: from news.dcn-asu.ru. (news.dcn-asu.ru [194.226.214.40])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA14195
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Mar 1998 05:43:40 -0600 (CST)
Received: from news.dcn-asu.ru by news.dcn-asu.ru. (SMI-8.6/SMI-SVR4)
	id FAA20409; Fri, 27 Mar 1998 05:43:29 -0600
Message-Id: <351B90E0.FA0309A5@news.dcn-asu.ru>
Date: Fri, 27 Mar 1998 05:43:28 -0600
Reply-To: sae@news.dcn-asu.ru
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alex Shavkun <sae@news.dcn-asu.ru>
To: wu-ftpd@wugate.wustl.edu
Subject: SITE EXEC command
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="MimeMultipartBoundary"
X-Sender: sae@newsreader.wustl.edu
X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

--MimeMultipartBoundary
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit

Hi!


I don't understand what SITE EXEC doing?
And how I can use it.

Thanks,
Alex.

Altai State University,
Department of Computer Networks.

--MimeMultipartBoundary--

From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 27 10:57:42 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA20163;
	Fri, 27 Mar 1998 10:57:41 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA14827;
	Fri, 27 Mar 1998 10:55:11 -0600 (CST)
Received: from genesis.truepath.com (root@genesis.truepath.com [209.75.119.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA15322
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Mar 1998 10:45:31 -0600 (CST)
Received: from gil-s-pc (sc21-17-32.thegrid.net [209.162.17.32]) by genesis.truepath.com (8.8.7/8.6.9) with SMTP id IAA19014 for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Mar 1998 08:45:41 -0800
Message-Id: <199803270842350640.008EF831@mail.truepath.com>
Date: Fri, 27 Mar 1998 08:42:35 -0800
Reply-To: gil@truepath.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "gil vidals" <gil@truepath.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Limiting the number of sub-directories
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Mailer: Calypso Evaluation Version 2.40.40
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id KAA12871
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hasn't anyone done this?

I need to limit the number of sub directories that a user can create. The ftpaccess file allows "dirs" and no "nodirs" to allow or disallow the creation of sub-directories. I want ALL users to be able to create sub-directories at most one level deep.

How can this be down? What modifications should be done to ftpd.c?

Thanks,
Gil

http://www.truepath.com
<<the cool site for Christians>>
FREE homepages for Christians


From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 27 18:05:23 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA22919;
	Fri, 27 Mar 1998 18:05:22 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA13497;
	Fri, 27 Mar 1998 18:03:36 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA09390
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Mar 1998 18:02:23 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id TAA27587; Fri, 27 Mar 1998 19:10:13 -0500
Message-Id: <Pine.GSO.3.96.980327185732.27189B-100000@dinosaur>
Date: Fri, 27 Mar 1998 19:10:13 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: What guestonly for?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi all:

Finally I came to the sense that Netscape Server does not regonize the
format "mort:*:403:400:Mortimer Snerd:/home/web/./mort/:/etc/ftponly" at
all (I would be supprised that any other web server will support thsi
either", so the URL format "http://DNS name/~user" will not work. What I
get around this by using Netscape's "Additional Documents Directories"
feature to map the URL loaction instead of using "User Documents
Directories" (URL format http://DNS name/somedir/user), so that I can
still use guest only feature of Wu-ftpd.

Here I come another question: If not for people's web account (ftp access
only), what does this feature for. One can use regular ftp access only
account by not giving web users any valid shells and by changing root mod
so they cann't really see and download anything important.

Any insight would be very appreciated.

_ming

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 27 18:42:51 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA23091;
	Fri, 27 Mar 1998 18:42:50 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA15598;
	Fri, 27 Mar 1998 18:41:09 -0600 (CST)
Received: from gaia.vr.net (lundberg@gaia.vr.net [205.133.13.5])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA10379
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Mar 1998 18:36:32 -0600 (CST)
Received: from localhost (lundberg@localhost)
	by gaia.vr.net (8.8.5/8.8.5) with SMTP id TAA22552;
	Fri, 27 Mar 1998 19:36:15 -0500
Message-Id: <Pine.LNX.3.95.980327192915.22498A-100000@gaia.vr.net>
Date: Fri, 27 Mar 1998 19:36:14 -0500 (EST)
Reply-To: lundberg@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg@vr.net>
To: Ming Lu <mlu@privsys.gip.net>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: What guestonly for?
In-Reply-To: <Pine.GSO.3.96.980327185732.27189B-100000@dinosaur>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 27 Mar 1998, Ming Lu wrote:

> Finally I came to the sense that Netscape Server does not regonize the
> format "mort:*:403:400:Mortimer Snerd:/home/web/./mort/:/etc/ftponly" at
> all (I would be supprised that any other web server will support thsi
> either", so the URL format "http://DNS name/~user" will not work. What I
> get around this by using Netscape's "Additional Documents Directories"
> feature to map the URL loaction instead of using "User Documents
> Directories" (URL format http://DNS name/somedir/user), so that I can
> still use guest only feature of Wu-ftpd.
> 
> Here I come another question: If not for people's web account (ftp access
> only), what does this feature for. One can use regular ftp access only
> account by not giving web users any valid shells and by changing root mod
> so they cann't really see and download anything important.
> 
> Any insight would be very appreciated.

First insight: Run Apache.  It costs less and works.  I use guestgroups
and have no problems at all. 

Second insight: Some customers just want to exchange files and don't want
web sites.  Guestgroups work just fine for them.

Third insight: I doubt Netscape's server is actually having a problem with
the /etc/passwd file format .. at least, if it is, nobody's mentioned it
on the wu-ftpd mailing list.  Most likely the problem is elsewhere: check
directory and file permissions .. that's my guess as to where the problem
is.  Don't forget to check permissions on every directory from '/' down to
the user's web page.  I'll bet somewhere along the way you've revoked
world-execute or world-read permissions.  If the server can't access the
directories and/or files, it can't server them.

----

Gregory A Lundberg		Senior Partner, VRnet Company
1441 Elmdale Drive              email: lundberg@vr.net [205.133.13.8]
Kettering, OH 45409-1615 USA    voice: +1 (937) 299-7653


From owner-wu-ftpd@wugate.wustl.edu  Fri Mar 27 19:14:43 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA23435;
	Fri, 27 Mar 1998 19:14:43 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA12101;
	Fri, 27 Mar 1998 19:12:55 -0600 (CST)
Received: from davis7.fabrik.com (davis7.fabrik.com [207.114.156.115])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA10251
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Mar 1998 19:07:50 -0600 (CST)
Received: from prague.fabrik.com by davis7.fabrik.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1458.49)
	id HC5JC7P1; Fri, 27 Mar 1998 17:07:43 -0800
Received: by prague.fabrik.com (Fabrik F07.2-000) 
    id Megw.1255321 ; Fri, 27 Mar 1998 17:07:03 -0800
Message-Id: <Megw.1255321@prague.fabrik.com>
Date: Fri, 27 Mar 1998 16:58:00 -0800
Reply-To: dennis.moreno@safetran.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Moreno, Dennis" <dennis.moreno@safetran.com>
To: wu-ftpd@wugate.wustl.edu
Subject: WU-FTP config
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8Bit
Content-Disposition: inline
X-Priority: 3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

     Hi-
     
     I need to configure WU-ftp on Sol. 2.5.1 for SPARC.
     
     I'd like to configure it so I can have a single local ftp account that 
     could be used internally to upload/delete files. I also want to have a 
     password protected guest account for external users to download files.
     
     I've installed and created a guest account that allows downloading of 
     files. It doesn't allow write/delete/rename. But I'm having trouble 
     setting up the internal ftp account. I want the internal account to be 
     "chrooted" like the guest account, except with the ability to upload 
     and delete files.
     
     I've read alot of FAQs but can't seem to find specifics to my desired 
     configuration. Do you have any sample config files I could use as a 
     guide?
     
     Also-
     My ftp server uses a virtual interface. Any special treatment for 
     this?
     
     Many thanks
     
     dennis


From owner-wu-ftpd@wugate.wustl.edu  Sat Mar 28 00:19:14 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id AAA25303;
	Sat, 28 Mar 1998 00:19:13 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA09112;
	Sat, 28 Mar 1998 00:17:23 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA12885
	for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Mar 1998 00:13:15 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
	id BAA05005; Sat, 28 Mar 1998 01:21:07 -0500
Message-Id: <Pine.GSO.3.96.980328011335.4772C-100000@dinosaur>
Date: Sat, 28 Mar 1998 01:21:07 -0500 (EST)
Reply-To: mlu@privsys.gip.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ming Lu <mlu@privsys.gip.net>
To: Gregory A Lundberg <lundberg@vr.net>
Cc: Wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: What guestonly for?
In-Reply-To: <Pine.LNX.3.95.980327192915.22498A-100000@gaia.vr.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Thanks for the fist two insights, but disagree with the third one. I
removed the dot, everything is fine. I even tried to make every directory
as 777, with dot, still does not work. In Netscape server, it specifies
that it reads passwd file. I would love to haer from someone tell me that
I did something wrong other than permissions (I knwo that it is not
permission problem).

Aparche is great. But that server belongs to a customer. He wanted
netscape and nothing I can do about it.

I am very gratefull for your comments.

Best Regards

_ming

 
On Fri, 27 Mar 1998, Gregory A Lundberg wrote:

->On Fri, 27 Mar 1998, Ming Lu wrote:
->
->> Finally I came to the sense that Netscape Server does not regonize the
->> format "mort:*:403:400:Mortimer Snerd:/home/web/./mort/:/etc/ftponly" at
->> all (I would be supprised that any other web server will support thsi
->> either", so the URL format "http://DNS name/~user" will not work. What I
->> get around this by using Netscape's "Additional Documents Directories"
->> feature to map the URL loaction instead of using "User Documents
->> Directories" (URL format http://DNS name/somedir/user), so that I can
->> still use guest only feature of Wu-ftpd.
->> 
->> Here I come another question: If not for people's web account (ftp access
->> only), what does this feature for. One can use regular ftp access only
->> account by not giving web users any valid shells and by changing root mod
->> so they cann't really see and download anything important.
->> 
->> Any insight would be very appreciated.
->
->First insight: Run Apache.  It costs less and works.  I use guestgroups
->and have no problems at all. 
->
->Second insight: Some customers just want to exchange files and don't want
->web sites.  Guestgroups work just fine for them.
->
->Third insight: I doubt Netscape's server is actually having a problem with
->the /etc/passwd file format .. at least, if it is, nobody's mentioned it
->on the wu-ftpd mailing list.  Most likely the problem is elsewhere: check
->directory and file permissions .. that's my guess as to where the problem
->is.  Don't forget to check permissions on every directory from '/' down to
->the user's web page.  I'll bet somewhere along the way you've revoked
->world-execute or world-read permissions.  If the server can't access the
->directories and/or files, it can't server them.
->
->----
->
->Gregory A Lundberg		Senior Partner, VRnet Company
->1441 Elmdale Drive              email: lundberg@vr.net [205.133.13.8]
->Kettering, OH 45409-1615 USA    voice: +1 (937) 299-7653
->
->

============================================================================
Ming Lu                                         Email: Ming.Lu@GlobalOne.net
Network Tech Consulting Engineer                Phone: 703-689-5290 (w)
Product Engineering                                    703-855-4194 (m)
Global One Telecommunications, LLT.                    703-689-6575 (f)
============================================================================  
"Do not pay attention to every word people say, or you may hear your
 servant cursing you ---- for you know in your heart that many times you
 yourself have cursed others."


From owner-wu-ftpd@wugate.wustl.edu  Sat Mar 28 07:37:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id HAA08123;
	Sat, 28 Mar 1998 07:37:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA08480;
	Sat, 28 Mar 1998 07:34:56 -0600 (CST)
Received: from gaia.vr.net (lundberg@gaia.vr.net [205.133.13.5])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA07228
	for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Mar 1998 07:28:45 -0600 (CST)
Received: from localhost (lundberg@localhost)
	by gaia.vr.net (8.8.5/8.8.5) with SMTP id IAA26736;
	Sat, 28 Mar 1998 08:28:41 -0500
Message-Id: <Pine.LNX.3.95.980328082043.26586B-100000@gaia.vr.net>
Date: Sat, 28 Mar 1998 08:28:41 -0500 (EST)
Reply-To: lundberg@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg@vr.net>
To: "Moreno, Dennis" <dennis.moreno@safetran.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTP config
In-Reply-To: <Megw.1255321@prague.fabrik.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 27 Mar 1998, Moreno, Dennis wrote:

> I'd like to configure it so I can have a single local ftp account that
> could be used internally to upload/delete files. I also want to have a
> password protected guest account for external users to download files. 

Both are guestgroup accounts.  Revoke write permissions for the external
users.

----

Gregory A Lundberg		Senior Partner, VRnet Company
1441 Elmdale Drive              email: lundberg@vr.net [205.133.13.8]
Kettering, OH 45409-1615 USA    voice: +1 (937) 299-7653


From owner-wu-ftpd@wugate.wustl.edu  Sun Mar 29 05:42:50 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA14452;
	Sun, 29 Mar 1998 05:42:49 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA31570;
	Sun, 29 Mar 1998 05:40:46 -0600 (CST)
Received: from arcadia.a2000.nl (arcadia.a2000.nl [62.108.1.18])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA31165
	for <wu-ftpd@wugate.wustl.edu>; Sun, 29 Mar 1998 05:32:41 -0600 (CST)
Received: from networld.org ([62.108.22.9]) by arcadia.a2000.nl
          (Netscape Mail Server v2.02) with ESMTP id AAA2229
          for <wu-ftpd@wugate.wustl.edu>; Sun, 29 Mar 1998 13:32:30 +0200
Message-Id: <351E31A2.1161795F@networld.org>
Date: Sun, 29 Mar 1998 13:33:54 +0200
Reply-To: Djon@speed.a2000.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Djon Kleine <Djon.Kleine@networld.org>
To: wu-ftpd@wugate.wustl.edu
Subject: HELP NEEDED !
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------787C6ED48F78B8B2408B4085"
X-Mailer: Mozilla 4.03 [nl] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dit is een multi-gedeelten-bericht in MIME-formaat.
--------------787C6ED48F78B8B2408B4085
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
Who can help me with virtual hosts ?
 Is it posible thad I have a max of anonymous users on a virtual host ?
So thad there on each virtual host max 25 users online are.
And thad I can do it so thad on some hostes more than 25 people online
are?
PLEASE HELP ME !

Bye,
Djon Kleine

--------------787C6ED48F78B8B2408B4085
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Kaart voor Djon Kleine
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Djon Kleine
n:              Kleine;Djon
email;internet: Djon.Kleine@networld.org
note:           ICQ UIN : 439339
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
version:        2.1
end:            vcard


--------------787C6ED48F78B8B2408B4085--


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 30 11:31:37 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA06863;
	Mon, 30 Mar 1998 11:31:36 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA29247;
	Mon, 30 Mar 1998 11:29:08 -0600 (CST)
Received: from tifosi.aa.ans.net (tifosi.aa.ans.net [147.225.20.88])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA26033
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Mar 1998 11:16:50 -0600 (CST)
Received: from localhost (localhost [127.0.0.1])
	by tifosi.aa.ans.net (8.8.7/8.8.7) with SMTP id MAA00368;
	Mon, 30 Mar 1998 12:16:38 -0500 (EST)
Message-Id: <Pine.GSO.3.95.980330121350.14168X-100000@tifosi.aa.ans.net>
Date: Mon, 30 Mar 1998 12:16:38 -0500 (EST)
Reply-To: mattmc@ans.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Matt McLean <mattmc@ans.net>
To: Djon@speed.a2000.nl
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: HELP NEEDED !
In-Reply-To: <351E31A2.1161795F@networld.org>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY=------------787C6ED48F78B8B2408B4085
Content-ID: <Pine.GSO.3.95.980330121350.14168Y@tifosi.aa.ans.net>
X-Sender: mattmc@tifosi.aa.ans.net
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--------------787C6ED48F78B8B2408B4085
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <Pine.GSO.3.95.980330121350.14168Z@tifosi.aa.ans.net>

Djon,

The only way I can think of is to use the "enhanced" version of wu-ftp
that allows for each virtual interface to have it's own seperate
ftpaccess file.

Check out;

http://www.landfield.com/wu-ftpd/
	Developers Corner
		"New Way of Supporting Virtual Hosts"

Peace.

On Sun, 29 Mar 1998, Djon Kleine wrote:

> Date: Sun, 29 Mar 1998 13:33:54 +0200
> From: Djon Kleine <Djon.Kleine@networld.org>
> Reply-To: Djon@speed.a2000.nl
> To: wu-ftpd@wugate.wustl.edu
> Subject: HELP NEEDED !
> 
> Hi,
> Who can help me with virtual hosts ?
>  Is it posible thad I have a max of anonymous users on a virtual host ?
> So thad there on each virtual host max 25 users online are.
> And thad I can do it so thad on some hostes more than 25 people online
> are?
> PLEASE HELP ME !
> 
> Bye,
> Djon Kleine
> 

--
  Matt McLean                                   Web Hosting group
  Systems Engineer II                                tifosi

--------------787C6ED48F78B8B2408B4085--

From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 30 17:05:06 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA09738;
	Mon, 30 Mar 1998 17:05:04 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA11738;
	Mon, 30 Mar 1998 17:02:50 -0600 (CST)
Received: from jansky.electriciti.com (root@jansky.electriciti.com [198.5.212.85])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA17666
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Mar 1998 16:59:18 -0600 (CST)
Received: from circuit (bknight@circuit.electriciti.com [198.5.212.12])
	by jansky.electriciti.com (8.8.5/8.8.5) with SMTP id PAA23553
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Mar 1998 15:01:25 -0800 (PST)
Message-Id: <Pine.SUN.3.96.980330144101.24312A-100000@circuit>
Date: Mon, 30 Mar 1998 14:51:41 -0800 (PST)
Reply-To: bknight@electriciti.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Knight <bknight@electriciti.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Wildcards in upload directive
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: bknight@circuit
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

We want to allow every single user on our system to have a directory for
receiving uploads by anonymous FTP.  We have setup a "users" directory
under the ~ftp directory, and the permissions have been setup correctly.

Now, in the upload directive, a dirglob of "/ftp/pub/users/*/incoming" 
does exactly what we need.  However, we want to set the ownership to each
specific user (i.e. the owner should be whatever the asterisk matched in
the dirglob).  Is there any way to do this with a single entry, or do we
need to create a separate upload directive for each user? 

Thanks for any help you can provide.

Brian Knight
bknight@electriciti.com


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 30 18:46:07 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id SAA10461;
	Mon, 30 Mar 1998 18:46:06 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA27328;
	Mon, 30 Mar 1998 18:43:54 -0600 (CST)
Received: from pressroom.com (pressroom.com [198.69.131.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA25753
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Mar 1998 18:38:29 -0600 (CST)
Message-Id: <199803310038.SAA25753@wugate.wustl.edu>
Date: Mon, 30 Mar 1998 19:28:16 -0500
Reply-To: mrc@pressroom.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Matt <mrc@pressroom.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual Anonymous FTP
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mrc@198.69.131.1
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


This is probably a dumb question, but I have a customer that wants a
anonymous ftp site on my webserver and he wants it to be
ftp.hisdomainname.com.  Right, and he wants the root of that
anonymous directory to be a subdir in his home dir.  Is that possible?



  Matt Chambers				 		     sysop@pressroom.com
  The Pressroom Online Services		 http://www.pressroom.com	

					  Washington's BEST Internet!
  Voice (703)631-5755							Fax  (703)502-8649
						


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 30 19:56:37 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id TAA10976;
	Mon, 30 Mar 1998 19:56:36 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA27192;
	Mon, 30 Mar 1998 19:53:44 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA26138
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Mar 1998 19:49:03 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id TAA15271;
	Mon, 30 Mar 1998 19:48:43 -0600
Message-Id: <Pine.LNX.3.96.980330194736.15187C-100000@ns1.fni.com>
Date: Mon, 30 Mar 1998 19:48:43 -0600 (CST)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Matt <mrc@pressroom.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Anonymous FTP
In-Reply-To: <199803310038.SAA25753@wugate.wustl.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Read the virtual howto in the root of recent wu-ftpd distributions.

   -- Michael

On Mon, 30 Mar 1998, Matt wrote:

> This is probably a dumb question, but I have a customer that wants a
> anonymous ftp site on my webserver and he wants it to be
> ftp.hisdomainname.com.  Right, and he wants the root of that
> anonymous directory to be a subdir in his home dir.  Is that
> possible? 


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 30 20:53:33 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id UAA11299;
	Mon, 30 Mar 1998 20:53:32 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA02267;
	Mon, 30 Mar 1998 20:51:12 -0600 (CST)
Received: from chopin.gb.com.cn (chopin.gb.com.cn [203.93.18.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA29336
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Mar 1998 20:48:29 -0600 (CST)
Received: from aaa.shenzhen.cngb.com ([203.93.104.100])
	by chopin.gb.com.cn (8.8.7/8.8.7) with SMTP id KAA00774
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 10:48:42 +0800 (CST)
Message-Id: <000b01bd5c4f$b5d13380$64685dcb@aaa.shenzhen.cngb.com>
Date: Tue, 31 Mar 1998 10:50:01 +0800
Reply-To: xuefei@gb.com.cn
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Xue Fei" <xuefei@gb.com.cn>
To: <wu-ftpd@wugate.wustl.edu>
Subject: Looking For ftp-only
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0008_01BD5C92.C14D6F60"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.

------=_NextPart_000_0008_01BD5C92.C14D6F60
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

Hello,everyone!
     I'm using wu-ftpd 2.4.2 now.I'd like to limit user access .
But I can't find /etc/ftp-only.Who can help me!

------=_NextPart_000_0008_01BD5C92.C14D6F60
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Dgb2312 http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.11"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hello,everyone!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; I'm using =
wu-ftpd 2.4.2=20
now.I'd like to limit user access .</FONT></DIV>
<DIV><FONT size=3D2>But I can't find /etc/ftp-only.Who can help=20
me!</FONT></DIV></BODY></HTML>

------=_NextPart_000_0008_01BD5C92.C14D6F60--


From owner-wu-ftpd@wugate.wustl.edu  Mon Mar 30 21:07:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id VAA11378;
	Mon, 30 Mar 1998 21:07:03 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA02045;
	Mon, 30 Mar 1998 21:04:04 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA00250
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Mar 1998 21:01:39 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id VAA16519;
	Mon, 30 Mar 1998 21:01:08 -0600
Message-Id: <Pine.LNX.3.96.980330210028.15187D-100000@ns1.fni.com>
Date: Mon, 30 Mar 1998 21:01:08 -0600 (CST)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Xue Fei <xuefei@gb.com.cn>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Looking For ftp-only
In-Reply-To: <000b01bd5c4f$b5d13380$64685dcb@aaa.shenzhen.cngb.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


The FAQ and guest howto below should explain everything you have asked
for. 

   -- Michael

On Tue, 31 Mar 1998, Xue Fei wrote:

> Hello,everyone!
>      I'm using wu-ftpd 2.4.2 now.I'd like to limit user access .
> But I can't find /etc/ftp-only.Who can help me!


This is the location for the latest wu-ftpd.  You can't see the
directory contents, but get the file anyway.  It's there.

ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-16.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 31 01:36:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id BAA13474;
	Tue, 31 Mar 1998 01:36:07 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA25031;
	Tue, 31 Mar 1998 01:33:57 -0600 (CST)
Received: from hhb.com.my (netsun001.hhb.com.my [202.185.167.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA24262
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 01:26:39 -0600 (CST)
Received: from smtphost.hhb.com.my by hhb.com.my (SMI-8.6/SMI-SVR4)
	id OAA05188; Tue, 31 Mar 1998 14:30:05 -0800
Received: from lklcpc080 (limka2 [128.35.1.32])
	by smtphost.hhb.com.my (8.8.6/HHB_DEV_1.0) with SMTP id PAA22580
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 15:19:32 +0800
Received: by lklcpc080 with Microsoft Mail
	id <01BD5CB9.EBA7F4C0@lklcpc080>; Tue, 31 Mar 1998 15:30:22 +0800
Message-Id: <01BD5CB9.EBA7F4C0@lklcpc080>
Date: Tue, 31 Mar 1998 15:30:21 +0800
Reply-To: limka@hhb.com.my
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lim Kian Ann <limka@hhb.com.my>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: FTP ls command
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have just installed wu-ftp 2.4(2) on a Solaris 2.3
It works fine but with one strange behaviour

in ftp, when I do an ls
the first 2 characters are not shown

eg

ftp> ls
nitor			should be monitor
ftp			should be wuftp

Help appreciated!!


Lim Kian Ann (limka@hhb.com.my)


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 31 05:36:02 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id FAA24879;
	Tue, 31 Mar 1998 05:36:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA17991;
	Tue, 31 Mar 1998 05:33:34 -0600 (CST)
Received: from gaia.vr.net (lundberg@gaia.vr.net [205.133.13.5])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA28510
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 05:30:48 -0600 (CST)
Received: from localhost (lundberg@localhost)
	by gaia.vr.net (8.8.5/8.8.5) with SMTP id GAA31545;
	Tue, 31 Mar 1998 06:30:08 -0500
Message-Id: <Pine.LNX.3.95.980331062905.31428A-100000@gaia.vr.net>
Date: Tue, 31 Mar 1998 06:30:08 -0500 (EST)
Reply-To: lundberg@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg@vr.net>
To: Lim Kian Ann <limka@hhb.com.my>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: FTP ls command
In-Reply-To: <01BD5CB9.EBA7F4C0@lklcpc080>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, 31 Mar 1998, Lim Kian Ann wrote:

> I have just installed wu-ftp 2.4(2) on a Solaris 2.3
> It works fine but with one strange behaviour

First off, get current.  2.4 has severe security problems.  Then, read the
FAQs for Solaris-specific help.

The location of the latest version of wu-ftpd can be found in the 
directory
 
      ftp://ftp.academ.com/pub/wu-ftpd/private/
 
You can't see the directory contents, so read the message informing you
of the actual filename to retrieve. It's there.
 
wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd FAQ:              http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

----

Gregory A Lundberg		Senior Partner, VRnet Company
1441 Elmdale Drive              email: lundberg@vr.net [205.133.13.8]
Kettering, OH 45409-1615 USA    voice: +1 (937) 299-7653


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 31 08:51:23 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id IAA27916;
	Tue, 31 Mar 1998 08:51:22 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA06255;
	Tue, 31 Mar 1998 08:45:17 -0600 (CST)
Received: from K3.peakpeak.com (root@dns1.peakpeak.com [207.174.103.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA31631
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 08:42:59 -0600 (CST)
Received: from [199.165.157.57] (lovetown.oneup.com [199.165.157.57])
	by K3.peakpeak.com (8.8.5/8.8.5) with ESMTP id HAA08921
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 07:42:56 -0700
Message-Id: <v03130300b146af6740e6@[199.165.157.57]>
Date: Tue, 31 Mar 1998 07:35:27 -0700
Reply-To: chrism@peakpeak.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Chris J. Magnuson" <chrism@peakpeak.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual ftp works, but files don't show up
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I figured this might be a FAQ but don't see it there....I have virtual ftp
working fine now, but when I login anaonymously to a virtual ftp site and
do an ls no files are listed.  If I do an mget * they are all there, but
why doesn't ls show them?

Thanks,
Chris



From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 31 09:18:49 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id JAA28310;
	Tue, 31 Mar 1998 09:18:48 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA08930;
	Tue, 31 Mar 1998 09:16:50 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA06052
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 09:12:37 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.8/8.8.8) with SMTP id JAA27070;
	Tue, 31 Mar 1998 09:12:34 -0600
Message-Id: <Pine.LNX.3.96.980331091208.25768D-100000@ns1.fni.com>
Date: Tue, 31 Mar 1998 09:12:34 -0600 (CST)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: "Chris J. Magnuson" <chrism@peakpeak.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual ftp works, but files don't show up
In-Reply-To: <v03130300b146af6740e6@[199.165.157.57]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


The FAQ and guest howto discuss installation of 'ls'.

   -- Michael

On Tue, 31 Mar 1998, Chris J. Magnuson wrote:

> I figured this might be a FAQ but don't see it there....I have virtual ftp
> working fine now, but when I login anaonymously to a virtual ftp site and
> do an ls no files are listed.  If I do an mget * they are all there, but
> why doesn't ls show them?


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 31 10:36:29 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id KAA29107;
	Tue, 31 Mar 1998 10:36:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA08641;
	Tue, 31 Mar 1998 10:34:02 -0600 (CST)
Received: from server.super.net.pk (server.super.net.pk [203.130.2.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA30859
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 10:29:39 -0600 (CST)
Received: (from naved@localhost)
	by server.super.net.pk (8.8.7/8.8.7) id VAA08286;
	Tue, 31 Mar 1998 21:31:16 +0500 (GMT+0500)
Message-Id: <Pine.OSF.3.91.980331212633.19073A-100000@server.super.net.pk>
Date: Tue, 31 Mar 1998 21:31:16 +0500 (GMT+0500)
Reply-To: naved@super.net.pk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: naved <naved@super.net.pk>
To: wu-ftpd@wugate.wustl.edu
Subject: ftp server 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN




Hi there,


We are isp and serving 10,000+ users now I want to configure ftp server 
for our users . So please guide me waht are the best technique available 
to save my bandwidth. 

I want to design a  structure of ftp server.   

Thanks in advance

Regards

Naved

e-mail:naved@super.net.pk 


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 31 11:40:21 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id LAA29684;
	Tue, 31 Mar 1998 11:40:20 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA16489;
	Tue, 31 Mar 1998 11:38:23 -0600 (CST)
Received: from gatekeep.ti.com (gatekeep.ti.com [192.94.94.61])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA16680
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 11:32:10 -0600 (CST)
Received: from dadd.ti.com. ([156.117.179.59]) by gatekeep.ti.com (8.8.8) with ESMTP id LAA19836 for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 11:31:39 -0600 (CST)
Received: from pavis.dadd.ti.com by dadd.ti.com. (8.8.4/)
	  id LAA28063; Tue, 31 Mar 1998 11:31:38 -0600 (CST)
Received: by pavis.dadd.ti.com id <AA027975475@pavis.dadd.ti.com>; Tue, 31 Mar 1998 11:31:15 -0600
Message-Id: <199803311731.AA027975475@pavis.dadd.ti.com>
Date: Tue, 31 Mar 98 11:31:15 CST
Reply-To: bobl@ti.com (Bob Luckin)
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Luckin <bobl@dadd.ti.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP ls command
In-Reply-To: <01BD5CB9.EBA7F4C0@lklcpc080>; from "Lim Kian Ann" at Mar 31, 98 3:30 pm
X-Mimi-Options: HEADERS TI2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> I have just installed wu-ftp 2.4(2) on a Solaris 2.3
> It works fine but with one strange behaviour
> 
> in ftp, when I do an ls
> the first 2 characters are not shown
> 
> eg
> 
> ftp> ls
> nitor			should be monitor
> ftp			should be wuftp

The last time I came across this problem, it turned out that one of the
dynamic libraries needed by ls was missing from the usr/lib directory
under the anonymous FTP root.

Unfortunately I can't remember which one it was.  Check the original
Solaris ftpd man page; it should list all the libraries which you need to
copy over.  If you are sure you have them all and you still see problems,
try running ldd, or truss after chrooting to ~ftp to see what is missing.

I hope this helps...

Cheers, Bob
-- 
      "Emit no data, coder ?  Adapt !  FTP Ada, redo C a tad - on time !"
Bob Luckin      bobl@ti.com      [http://www.dhc.net/~luckin/palindromes.html]

From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 31 17:49:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id RAA03968;
	Tue, 31 Mar 1998 17:49:15 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA08211;
	Tue, 31 Mar 1998 17:47:08 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA08479
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 17:43:19 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
	by thongvilay.giganet.net (8.8.5/8.8.5) with SMTP id IAA08344;
	Wed, 1 Apr 1998 08:42:56 +0900 (JST)
Message-Id: <Pine.GSO.3.95LJ1.1b4.980401084225.6986C-100000@thongvilay.giganet.net>
Date: Wed, 1 Apr 1998 08:42:56 +0900 (JST)
Reply-To: tatsuya@giganet.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Tatsuya Kawasaki <tatsuya@giganet.net>
To: naved <naved@super.net.pk>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp server 
In-Reply-To: <Pine.OSF.3.91.980331212633.19073A-100000@server.super.net.pk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello Naved,

if you heard anything please forward them to me.

thnx
tatsuya

$B$$$D$b$*@$OC$K$J$C$F$*$j$^$9(B $B$+$o$5$-(B@ giganet$B$G$9!#(B




$B$+$o$5$-(B


= = = = = =
$BEEOC(B 03-3239-0607 fax 03-3239-2609
business network telecom
http://www.giganet.net

On Tue, 31 Mar 1998, naved wrote:

> 
> 
> 
> Hi there,
> 
> 
> We are isp and serving 10,000+ users now I want to configure ftp server 
> for our users . So please guide me waht are the best technique available 
> to save my bandwidth. 
> 
> I want to design a  structure of ftp server.   
> 
> Thanks in advance
> 
> Regards
> 
> Naved
> 
> e-mail:naved@super.net.pk 
> 
> 


From owner-wu-ftpd@wugate.wustl.edu  Tue Mar 31 23:00:51 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.8.8/8.8.8) with ESMTP id XAA07122;
	Tue, 31 Mar 1998 23:00:50 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA29262;
	Tue, 31 Mar 1998 22:58:33 -0600 (CST)
Received: from genesis.truepath.com (root@genesis.truepath.com [209.75.119.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA27215
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 22:57:10 -0600 (CST)
Received: from p133 (webcc-am1-77.webcc.net [207.67.207.77]) by genesis.truepath.com (8.8.7/8.6.9) with SMTP id UAA28271 for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Mar 1998 20:57:22 -0800
Message-Id: <199803312101370270.00281BBC@mail.truepath.com>
Date: Tue, 31 Mar 1998 21:01:37 -0800
Reply-To: gil@truepath.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Gil Vidals" <gil@truepath.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Controlling sub-directories. Come on someone has got to
 know...
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Mailer: Calypso Evaluation Version 2.40.40
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id WAA21528
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

I've posted a similar message before and am quite surprised that no one has the answer or at least no one has volunteered to give me any direction. 

I need to control the depth of sub-directories in a user's home directory. I want to allow users to create sub-directories one level deep ONLY. I don't want directories that are nested any deeper than that.  I thought this might be something I could control with ftpaccess, but I don't see how.

Ftpaccess only lets you set "dirs" or "nodirs" which means allow sub-directories to be created or don't allow them.

I'm running linux 2.0.30 with a recent version of wuftpd.

Any help would be appreciated. 

Gil


http://www.truepath.com
<<the cool site for Christians>>
Free homepages!


