From wu-ftpd-errors@wunet.wustl.edu Fri Sep  2 10:39:59 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qgcaI-0003EKC; Fri, 2 Sep 94 10:39 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGMWLNJY1S000K4M@wunet.wustl.edu>; Fri, 02 Sep 1994 11:59:03 -0500 (CDT)
Received: from math.utah.edu (csc-sun.math.utah.edu)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGMWLJTPV4000LK3@wunet.wustl.edu>; Fri, 02 Sep 1994 11:58:39 -0500 (CDT)
Received: from plot79.math.utah.edu by math.utah.edu
 (4.1/SMI-4.1-utah-csc-server) id AA13035; Fri, 2 Sep 94 10:41:54 MDT
Date: Fri, 02 Sep 1994 10:41:54 -0600 (MDT)
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Subject: [417] wu-ftpd and Sun Solaris 2.x: shell script change needed
To: tex-archive@math.utah.edu, sun-managers@lists.utah.edu,
 sysstaff@math.utah.edu, rodgers@math.utah.edu, risto@math.utah.edu,
 debar@math.utah.edu, wu-ftpd@wunet.wustl.edu
Cc: beebe@math.utah.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <CMM.0.91.0.778524111.beebe@plot79.math.utah.edu>
Content-transfer-encoding: 7BIT
X-Us-Mail:
 "Center for Scientific Computing, University of Utah, Salt Lake City, UT 84112"
X-Telephone: +1 801 581 5254
X-Fax: +1 801 581 4148

During the last 3 days, we have completed the move of
ftp.math.utah.edu from an overloaded, and aging, Sun 4/380 server to
one of four new SPARC 20/512 two-processor systems.  The old machine
runs SunOS 4.1.3, and the new ones, Solaris 2.3 (== SunOS 5.3).  We
spent many hours tracking down and fixing two problems that showed up.

(1) On the new system, the protection of ~ftp/etc was accidentally set
incorrectly.  The effect of this was that a bare `ls' command in an
ftp client would list files (it is handled by special code inside ftpd
itself), but a `dir' or `ls -switches' command would fail (that
requires invocation of /bin/ls).  At least if it happens in the
future, we'll know where to look; other sites can learn the lesson
from our experience.

(2) The `quote site index' command failed to work, returning as its
output a string like "cannot open /dev/fd/10", instead of the expected
list of matching file names.  This one took much longer to track down,
and required attaching the dbx debugger to the ftpd process after it
had started.  It turns out that in Solaris 2.x, when a file executed
by the exec*() family of systems calls is found to begin with

#!/bin/sh

the kernel knows that the indicated program, /bin/sh, must be started
with the script file itself as the input to the program.  Presumably,
in SunOS 4.x, this was done by simply opening the file, and then
duplicating the file descriptor of the file's handle to 0, that of
standard input.

In Solaris 2.x, there is a new file system called /dev/fd, (fd == file
descriptor); its files are named by numbers, and correspond to file
descriptors of running processes.  Thus, /dev/fd/10 is a file that is
equivalent to that currently open on file descriptor 10.

What the Solaris 2.x exec*() system call now does is start /bin/sh,
passing it the name of its input file on the command line, followed by
the command arguments.  The result of this is that the shell is
invoked as

/bin/sh /dev/fd/nnn arg1 arg2 ....

This is transparent to ordinary shell scripts, because /dev/fd/nnn
exists, and is equivalent to a link to the the shell script file
itself, and /bin/sh is able to open it.

However, in the context of a process that issues a chroot system call,
as ftpd does to isolate its file system for security reasons, there is
then no /dev/fd directory, nor can one make such a directory under
~ftp/dev/fd, because the /dev/fd is magically mounted for each
process, and only one such mount can be in effect at one time.

The fix that restored `quote site index' to working order was to
change the ~ftp/bin/ftp-exec/index script from the normal UNIX one:

#!/bin/sh
if [ $# -eq 1 ]
then
        egrep -i $1 /INDEX | head -20 # 20 results in *** TRUNCATED *** message
else
        echo "Usage: QUOTE SITE INDEX egrep-pattern"
        echo "Regular-expression pattern matching is done on a list of"
        echo "files in the /pub anonymous ftp tree."
fi

to this version which gets an explicit input file name (its own in the
chroot'ed ftp file system) as its first argument:

#!/bin/sh /usr/bin/ftp-exec/index
shift
if [ $# -eq 1 ]
then
        egrep -i $1 /INDEX | head -20 # 20 results in *** TRUNCATED *** message
else
        echo "Usage: QUOTE SITE INDEX egrep-pattern"
        echo "Regular-expression pattern matching is done on a list of"
        echo "files in the /pub anonymous ftp tree."
fi

On entry to the shell script, the arguments will then be

	/dev/fd/10 string-to-find

and the shift command discards the unwanted /dev/fd/10, leaving
string-to-find as the argument to be passed to egrep for the search.

This change in behavior between SunOS 4.x and Solaris 2.x may be a
bug, or a feature, but in either case, I believe that Sun Microsystems 
needs to either fix it, or document it in the man pages for exec(2).


========================================================================
Nelson H. F. Beebe                      Tel: +1 801 581 5254
Center for Scientific Computing         FAX: +1 801 581 4148
Department of Mathematics, 105 JWB      Internet: beebe@math.utah.edu
University of Utah
Salt Lake City, UT 84112, USA
========================================================================

From wu-ftpd-errors@wunet.wustl.edu Tue Sep  6 11:47:09 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qi5Xl-0003OLC; Tue, 6 Sep 94 11:46 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGSL266BJ4000SQ4@wunet.wustl.edu>; Tue, 06 Sep 1994 13:33:34 -0500 (CDT)
Received: from VTC.TACOM.Army.Mil (cc.tacom.army.mil)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGSL22B9QO000Q1X@wunet.wustl.edu>; Tue, 06 Sep 1994 13:33:08 -0500 (CDT)
Received: from tacom-ccmail4.local by VTC.TACOM.Army.Mil (4.1/35f-kbp)
 id AA06716; Tue, 6 Sep 94 14:33:26 EDT
Received: from ccMail by tacom-ccmail4.local id AA778887233 Tue,
 06 Sep 94 14:33:53 EDT
Date: Tue, 06 Sep 1994 14:33:53 -0400 (EDT)
From: saxonm@cc.tacom.army.mil
Subject: [418] wuftpd on Irix 5.2
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9408067788.AA778887233@tacom-ccmail4.local>
Content-type: MULTIPART/MIXED; BOUNDARY="Boundary (ID ClMGMo1fS8U2UgZ8NaXZkQ)"
Content-transfer-encoding: 7BIT


--Boundary (ID ClMGMo1fS8U2UgZ8NaXZkQ)
Content-type: TEXT/PLAIN



          In compiling wu-ftpd-2.4 on Irix, the symbol NCARGS in
          glob.c is undefined.  What am I missing?

          Thanx,
          Mike Saxon
          saxonm@cc.tacom.army.mil

--Boundary (ID ClMGMo1fS8U2UgZ8NaXZkQ)--

From wu-ftpd-errors@wunet.wustl.edu Tue Sep  6 13:13:06 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qi6so-0003FpC; Tue, 6 Sep 94 13:12 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGSO38YNUO000SQ4@wunet.wustl.edu>; Tue, 06 Sep 1994 15:00:07 -0500 (CDT)
Received: from mail (mail.physics.ox.ac.uk)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGSO34D374000W2R@wunet.wustl.edu>; Tue, 06 Sep 1994 14:59:29 -0500 (CDT)
Received: from mildred.physics.ox.ac.uk by mail with SMTP
 (5.65c+/IDA-1.4.4-UK-t for <wu-ftpd@wunet.wustl.edu>) id AA23835; Tue,
 6 Sep 1994 20:51:14 +0100
Received: from alice.clarendon.ox by mildred.physics.ox.ac.uk (5.0/SMI-SVR4)
 id AA06935; Tue, 6 Sep 1994 20:53:15 +0000
Received: by alice.clarendon.ox (5.0/SMI-SVR4) id AA25732; Tue,
 6 Sep 1994 20:53:13 +0000
Date: Tue, 06 Sep 1994 20:53:13 +0000
From: p.ruprecht1@physics.oxford.ac.uk (Peter Ruprecht)
Subject: [419] wuftpd for Solaris 2.3
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409061953.AA25732@alice.clarendon.ox>
Content-transfer-encoding: 7BIT
Content-length: 1459
X-Sun-Charset: US-ASCII

Hello,

When compiling wu-ftpd-2.4 for Solaris 2.3 on a Sun Sparc10, I get the following
output (from the Solaris C compiler):

# ./build sol
make args are : 
make opts are : 

Linking Makefiles.
ln: makefiles/Makefile.sol and Makefile are identical
ln: config/config.sol and config.h are identical
ln: makefiles/Makefile.sol and Makefile are identical

Making support library.
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o
touch libsupport.a

Making ftpd.
cc -g -DDEBUG -I.. -I../support -L../support  -c  ftpd.c
"ftpd.c", line 512: warning: semantics of ">" change in ANSI C; use explicit cast
"ftpd.c", line 532: warning: semantics of ">" change in ANSI C; use explicit cast
"ftpd.c", line 759: warning: semantics of ">" change in ANSI C; use explicit cast
"ftpd.c", line 1972: undefined symbol: typenames
"ftpd.c", line 1972: cannot dereference non-pointer type
"ftpd.c", line 1974: undefined symbol: formnames
"ftpd.c", line 1974: cannot dereference non-pointer type
"ftpd.c", line 1982: undefined symbol: strunames
"ftpd.c", line 1982: cannot dereference non-pointer type
"ftpd.c", line 1982: undefined symbol: modenames
"ftpd.c", line 1982: cannot dereference non-pointer type
cc: acomp failed for ftpd.c
*** Error code 1
make: Fatal error: Command failed for target `ftpd.o'

.
.
.

Does anyone know what the problem with "typenames", "formnames", etc. is?
Do I need to define these somehow?

Thanks,
Peter Ruprecht

From wu-ftpd-errors@wunet.wustl.edu Tue Sep  6 14:14:21 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qi7qF-0003BAC; Tue, 6 Sep 94 14:14 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGSQ6Q5R0W000PCI@wunet.wustl.edu>; Tue, 06 Sep 1994 16:00:03 -0500 (CDT)
Received: from gso.SAIC.COM (gefion.gso.saic.com)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGSQ6LGOZK000P1R@wunet.wustl.edu>; Tue, 06 Sep 1994 15:59:33 -0500 (CDT)
Received: from mode.gso.saic.com by gso.SAIC.COM (4.1/SMI-4.1) id AA08176; Tue,
 6 Sep 94 13:59:53 PDT
Received: by mode.gso.saic.com (5.0/SMI-SVR4) id AA01853; Tue,
 6 Sep 1994 13:59:49 +0800
Date: Tue, 06 Sep 1994 13:59:49 +0800
From: eakin@gso.SAIC.COM (Chris Eakin)
Subject: [420] Re: [419] wuftpd for Solaris 2.3
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409062059.AA01853@mode.gso.saic.com>
Content-transfer-encoding: 7BIT
Content-length: 304
X-Sun-Charset: US-ASCII


You need to look at the Installation instructions...


  "If cc complains about strunaames, typenames, modenames,  ... being undefined you need to install support/ftp.h as /usr/include/arpa/ftp.h (always make a backup of the old ftp.h) and do the build again."


Chris Eakin
SAIC
San Diego, CA.  92121

From wu-ftpd-errors@wunet.wustl.edu Thu Sep  8 02:18:40 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qifcp-0003O6C; Thu, 8 Sep 94 02:18 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGUSYBQY0W000VKX@wunet.wustl.edu>; Thu, 08 Sep 1994 03:41:09 -0500 (CDT)
Received: from sigma.itu.ch by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGUSY6CZ00000SPS@wunet.wustl.edu>; Thu, 08 Sep 1994 03:40:36 -0500 (CDT)
Received: from MR.ITU.CH by ITU.CH (PMDF V4.3-7 #4298)
 id <01HGV7OFU7M89D4B78@ITU.CH>; Thu, 8 Sep 1994 10:42:43 CET
Received: with PMDF-MR; Thu, 8 Sep 1994 09:29:52 CET
MR-Received: by mta TIES.MUAS; Relayed; Thu, 08 Sep 1994 09:29:52 +0100
MR-Received: by mta TAU; Relayed; Thu, 08 Sep 1994 09:29:58 +0100
Disclose-recipients: prohibited
Date: Thu, 08 Sep 1994 09:29:52 +0100 (CET)
From: JARLE MARTINSEN +41 22 730 5949 <JARLE.MARTINSEN@itu.ch>
Subject: [421] Beginners blues..
To: WU-FTPD <WU-FTPD@wunet.wustl.edu>
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9252291008091994/A71944/TAU/1189429D3300*@MHS>
Autoforwarded: false
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Importance: normal
Priority: normal
UA-content-id: 1189429D3300
X400-MTS-identifier: [;9252291008091994/A71944/TAU]
Hop-count: 1

Hi,

I have a problem setting up the wu-ftpd on a DEC Alpha. 
Compilation/linking went alright.  I can ftp to my site,
and I see the login prompt - but after typing in a username
I get 
	530 User jarle access denied...
	Login failed.

This is probably some configuration issues/files that I've
setup incorrectly - but I can't figure out which one.

Any hint/information would be appriciated.
If this has been discussed before, please point me 
to the appropriate file.

Best Regards,
/jarle

Jarle Martinsen
International Telecommuniction Union (ITU)
Geneva - Switzerland

Internet:	martinsen@itu.ch
X.400:	S=martinsen; P=itu; A=arcom; C=ch


From wu-ftpd-errors@wunet.wustl.edu Thu Sep  8 03:17:29 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qigXm-0003MxC; Thu, 8 Sep 94 03:17 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGUUWVC5SW000SYC@wunet.wustl.edu>; Thu, 08 Sep 1994 04:37:15 -0500 (CDT)
Received: from sigma.itu.ch by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGUUKXFL68000P8B@wunet.wustl.edu>; Thu, 08 Sep 1994 04:27:11 -0500 (CDT)
Received: from MR.ITU.CH by ITU.CH (PMDF V4.3-7 #4298)
 id <01HGV7OFU7M89D4B78@ITU.CH>; Thu, 8 Sep 1994 10:50:14 CET
Received: with PMDF-MR; Thu, 8 Sep 1994 09:39:04 CET
MR-Received: by mta TIES.MUAS; Relayed; Thu, 08 Sep 1994 09:39:04 +0100
MR-Received: by mta TAU; Relayed; Thu, 08 Sep 1994 09:39:08 +0100
Disclose-recipients: prohibited
Date: Thu, 08 Sep 1994 09:39:04 +0100 (CET)
From: JARLE MARTINSEN +41 22 730 5949 <JARLE.MARTINSEN@itu.ch>
Subject: [422] =?ISO-8859-1?Q?=ECndex?=
To: WU-FTPD <WU-FTPD@wunet.wustl.edu>
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9804391008091994/A71968/TAU/118942A70300*@MHS>
Autoforwarded: false
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Importance: normal
Priority: normal
UA-content-id: 118942A70300
X400-MTS-identifier: [;9804391008091994/A71968/TAU]
Hop-count: 1

index


From wu-ftpd-errors@wunet.wustl.edu Thu Sep  8 04:20:50 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qihWx-0003O6C; Thu, 8 Sep 94 04:20 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGUWUU7834000UHQ@wunet.wustl.edu>; Thu, 08 Sep 1994 05:33:37 -0500 (CDT)
Received: from sigma.itu.ch by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGUWGNKT40000QJ0@wunet.wustl.edu>; Thu, 08 Sep 1994 05:21:16 -0500 (CDT)
Received: from MR.ITU.CH by ITU.CH (PMDF V4.3-7 #4298)
 id <01HGVAUOE2BK9D4BIQ@ITU.CH>; Thu, 8 Sep 1994 12:23:14 CET
Received: with PMDF-MR; Thu, 8 Sep 1994 11:12:11 CET
MR-Received: by mta TIES.MUAS; Relayed; Thu, 08 Sep 1994 11:12:11 +0100
MR-Received: by mta TAU; Relayed; Thu, 08 Sep 1994 11:12:13 +0100
Disclose-recipients: prohibited
Date: Thu, 08 Sep 1994 11:12:11 +0100 (CET)
From: JARLE MARTINSEN +41 22 730 5949 <JARLE.MARTINSEN@itu.ch>
Subject: [424] Re: [421] Beginners blues.. (fwd)
In-reply-to: <199409080927.AA082536467@cismhp.univ-lyon1.fr>
To: WU-FTPD <WU-FTPD@wunet.wustl.edu>
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <8511121208091994/A72126/TAU/1189430C0A00*@MHS>
Autoforwarded: false
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Importance: normal
Priority: normal
UA-content-id: 1189430C0A00
X400-MTS-identifier: [;8511121208091994/A72126/TAU]
Hop-count: 1

Merci Gilles, 
 
Yes I did.  Another question.  What would the ftpaccess
and ftpgroup look like if, I want all registered user (i.e
they have an account) to log on via ftp...?

Rgrds,
/jarle

>>JARLE MARTINSEN +41 22 730 5949 ecrit:
>>> 
>>> I have a problem setting up the wu-ftpd on a DEC Alpha. 
>>> Compilation/linking went alright.  I can ftp to my site,
>>> and I see the login prompt - but after typing in a username
>>> I get 
>>> 	530 User jarle access denied...
>>> 	Login failed.
>>> 
>>	Did you copy the /etc/sia directory to ~/ftp/etc/sia ?
>>	(cf. man ftpd)
>>	Sincerely,
>>-- 
>>		Gilles Rech.
>>		C.I.S.M., Universite Claude Bernard Lyon I & INSA Lyon, France.


From wu-ftpd-errors@wunet.wustl.edu Thu Sep  8 05:08:14 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qiiGw-0003OpC; Thu, 8 Sep 94 05:08 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGUZL23H7K000RMK@wunet.wustl.edu>; Thu, 08 Sep 1994 06:51:29 -0500 (CDT)
Received: from bull (bull.rbstv.riga.lv) by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGUZC9LPO0000SO4@wunet.wustl.edu>; Thu, 08 Sep 1994 06:43:54 -0500 (CDT)
Received: by bull (AIX 3.2/UCB 5.64/4.03) id AA21522; Thu,
 8 Sep 1994 14:40:54 +0300
Date: Thu, 08 Sep 1994 14:40:54 +0300
From: root@bull.wustl.edu (Super User)
Subject: [425] wu-ftpd can't UPLOAD !!!
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: root@bull.wustl.edu, wu-ftpd@wunet.wustl.edu
Message-id: <9409081140.AA21522@bull>
Content-transfer-encoding: 7BIT


Hi, 

It's my first post to wu-ftpd mailinglist, hope its ok.

I have installed wu-ftpd ver. 2.4.

Everything installed OK, it works fine. 

But I have one problem . I cannot UPLOAd.

I mean uploading in /incoming or /pub/incoming using the anonymous access.

when I try to quote appe or upload a "testfile" I get the following:

553 testffile: Permission denied. (Filename (accept))

Here's part of my ftpaccess ile:

upload  /home/ftp  *           yes
upload  /home/ftp  /bin/*      no
upload  /home/ftp  /etc/*      no
upload  /home/ftp  /incoming*  yes  ftp staff   0644    nodirs


WHAT's WRONG ???

Thanks in advance.

Dostick.

From wu-ftpd-errors@wunet.wustl.edu Thu Sep  8 07:59:07 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qikwL-0003OeC; Thu, 8 Sep 94 07:59 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGV5P16628000SV8@wunet.wustl.edu>; Thu, 08 Sep 1994 09:46:24 -0500 (CDT)
Received: from LILHRS.GSFC.NASA.GOV by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGV5OX610G000QOZ@wunet.wustl.edu>; Thu, 08 Sep 1994 09:45:46 -0500 (CDT)
Date: Thu, 08 Sep 1994 10:46:10 -0400 (EDT)
From: "The best things in life ... are fantasy." <HRSVENER@LILHRS.GSFC.NASA.GOV>
Subject: [426] RE: [423] S/Key for wu-ftpd 2.4
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <940908104610.2540012f@LILHRS.GSFC.NASA.GOV>
Content-transfer-encoding: 7BIT

What is S/Key and what is it supposed to do?

Thanks.

PCVS

From wu-ftpd-errors@wunet.wustl.edu Thu Sep  8 11:30:26 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qioEo-0003OTC; Thu, 8 Sep 94 11:30 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGVD01OVGG000VON@wunet.wustl.edu>; Thu, 08 Sep 1994 13:15:10 -0500 (CDT)
Received: from lloyd.com (harry.lloyd.com)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGVCYCHIGW000P1L@wunet.wustl.edu>; Thu, 08 Sep 1994 13:13:26 -0500 (CDT)
Received: by lloyd.com (Smail3.1.28.1 #3) id m0qinyr-0005ayC; Thu,
 8 Sep 94 11:13 PDT
Date: Thu, 08 Sep 1994 11:13:53 -0700
From: Howard Chu <howard@harry.lloyd.com>
Subject: [427] Re: [426] RE: [423] S/Key for wu-ftpd 2.4
In-reply-to: Your message of "Thu, 08 Sep 1994 10:46:10 EDT."
 <940908104610.2540012f@LILHRS.GSFC.NASA.GOV>
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <m0qinyr-0005ayC@lloyd.com>
Content-transfer-encoding: 7BIT

S/Key is a one-time password system; it was created to address the problem of
password snooping on the Internet. By insuring that a different password is
required every time you log in, you pretty much defeat the purpose of snooping.
S/Key uses a "secure hashing" algorithm which is supposed to be non-reversible.
(It runs MD4 on a password you choose, and runs the MD4 algorithm a number of
times in succession. All that ever crosses the network is the result of N runs
thru the algorithm. Each successive login, the N-1th result is used.) The
secret password never goes across the network, only the result of the secure
hash. [While MD4 hasn't actually been "cracked," it seems that it's not totally
secure, and probably MD5 should be used instead. There is an MD5 version of
S/Key available, but it doesn't seem to be as widely supported....]
  -- Howard

From wu-ftpd-errors@wunet.wustl.edu Fri Sep  9 11:41:35 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qjAtB-0003O2C; Fri, 9 Sep 94 11:41 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWRE2N8TS000SGH@wunet.wustl.edu>; Fri, 09 Sep 1994 13:18:46 -0500 (CDT)
Received: from gaea.nchgr.nih.gov by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWRDYMAUO000UXC@wunet.wustl.edu>; Fri, 09 Sep 1994 13:17:38 -0500 (CDT)
Received: from nchgr.nih.gov (athena) by gaea.nchgr.nih.gov (5.0/SMI-SVR4)
 id AA01183; Fri, 9 Sep 1994 14:17:36 +0500
Received: by nchgr.nih.gov (5.0/SMI-SVR4) id AA04336; Fri,
 9 Sep 1994 14:16:44 +0500
Date: Fri, 09 Sep 1994 14:16:44 +0500
From: hyeung@nchgr.nih.gov (Howard Yeung)
Subject: [429] I cannot upload a file - permission denied.
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: hyeung@nchgr.nih.gov, wu-ftpd@wunet.wustl.edu
Message-id: <9409091816.AA04336@nchgr.nih.gov>
Content-transfer-encoding: 7BIT
Content-length: 1748
X-Sun-Charset: US-ASCII

Hi Everyone,
 
I ftp anonymous to the ftp server I have just setup.
Everything works fine except when I try to upload a
file into the upload directory.  I have the following
message:
 
------------------------capture------------------
ftp> cd incoming
250 CWD command successful.
ftp> ls
200 PORT command successful.
550 No files found.
ftp> put .login
200 PORT command successful.
553 .login: Permission denied. (Filename (deny))
ftp>
------------------------end----------------------

I look at the permission on the directory.  It is
set to 777. Strange! 
 
lrwxrwxrwx   1 root     other          7 Apr 28 08:50 bin -> usr/bin 
dr-xr-xr-x   2 root     other        512 Apr 28 08:50 dev 
dr-xr-xr-x   2 root     other        512 Aug  5 10:43 etc 
drwxrwxrwx   2 ftp      other        512 Aug 19 09:17 incoming 
drwxr-xr-x   6 ftp      other        512 Sep  7 09:57 private 
drwxrwxrwx   2 ftp      other        512 Aug 23 10:23 pub 
dr-xr-xr-x   4 root     other        512 Apr 28 08:50 usr 
 
The following is part of my ftpaccess file. 
 
------------------------capture------------------
# specify the upload directory information
# this only applies to anonymous users, so all paths are relative to ~ftp
upload  /opt/ftp *      no
upload  /opt/ftp /bin no
upload  /opt/ftp /dev no
upload  /opt/ftp /etc no
upload  /opt/ftp /faq no
upload  /opt/ftp /lib no
upload  /opt/ftp /pub no
upload  /opt/ftp /usr no
 
upload  /opt/ftp /incoming yes ftp daemon 0644 dirs
upload  /opt/ftp /incoming yes ftp daemon 0644 dirs
upload  /opt/ftp /incoming yes ftp daemon 0644 dirs
 
------------------------end----------------------
 
Any help would be really appreciated.

Howard Yeung
Unix Admin, NCHGR/NIH
Tel: 	(301)-402-2536
Email: 	hyeung@nchgr.nih.gov

From wu-ftpd-errors@wunet.wustl.edu Fri Sep  9 12:34:32 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qjBiN-0003OGC; Fri, 9 Sep 94 12:34 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWRAFB0S0000RGZ@wunet.wustl.edu>; Fri, 09 Sep 1994 13:15:14 -0500 (CDT)
Received: from luke.cs.umass.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWRAD9M0W000VAJ@wunet.wustl.edu>; Fri, 09 Sep 1994 13:14:45 -0500 (CDT)
Received: (from qlong@localhost) by luke.cs.umass.edu (8.6.9/8.6.9)
 id OAA29875; Fri, 9 Sep 1994 14:15:17 -0400
Date: Fri, 09 Sep 1994 14:15:17 -0400
From: Qiegang Long <qlong@luke.cs.umass.edu>
Subject: [428] trouble after update to 2.4
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Resent-reply-to: qlong@luke.cs.umass.edu, wu-ftpd@wunet.wustl.edu
Reply-to: QLONG@CS.UMASS.EDU
Message-id: <199409091815.OAA29875@luke.cs.umass.edu>
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT

Hi,

After updating wuftpd from 2.3 to 2.4, I got a strange
problem. Anonymous user can no longer "put" files in our incoming
directory. There is no problem for the normal users. The message we
got is:

ftp> put l
200 PORT command successful.
550 fchown: Not owner.


This server is running on a DEC Alpha. I would appreciate any input to
this.  Please send me email directly as I am not on the list.

Quin

From wu-ftpd-errors@wunet.wustl.edu Fri Sep  9 12:48:22 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qjBvm-0003NyC; Fri, 9 Sep 94 12:48 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWRQOLQAO000YIN@wunet.wustl.edu>; Fri, 09 Sep 1994 13:28:25 -0500 (CDT)
Received: from gaea.nchgr.nih.gov by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWRQKNQF4000SOT@wunet.wustl.edu>; Fri, 09 Sep 1994 13:27:48 -0500 (CDT)
Received: from nchgr.nih.gov (athena) by gaea.nchgr.nih.gov (5.0/SMI-SVR4)
 id AA01222; Fri, 9 Sep 1994 14:27:48 +0500
Received: by nchgr.nih.gov (5.0/SMI-SVR4) id AA04347; Fri,
 9 Sep 1994 14:26:56 +0500
Date: Fri, 09 Sep 1994 14:26:56 +0500
From: hyeung@nchgr.nih.gov (Howard Yeung)
Subject: [430] Re: [425] wu-ftpd can't UPLOAD !!!
To: root@bull.wustl.edu, wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: hyeung@nchgr.nih.gov, wu-ftpd@wunet.wustl.edu
Message-id: <9409091826.AA04347@nchgr.nih.gov>
Content-transfer-encoding: 7BIT
Content-length: 1231
X-Sun-Charset: US-ASCII

Hi,

I just saw your posting on wu-ftpd-errors@wunet.wustl.edu.
I am having the same problem now.
Have you find out the solutions yet?

I would appreciate if you can pass the info to me too.

Howard Yeung
Unix Admin, NCHGR/NIH
Tel: 	(301)-402-2536
Email: 	hyeung@nchgr.nih.gov

> From wu-ftpd-errors@wunet.wustl.edu Thu Sep  8 08:06 EDT 1994
> Date: Thu, 08 Sep 1994 14:40:54 +0300
> From: root@bull.wustl.edu (Super User)
> Subject: [425] wu-ftpd can't UPLOAD !!!
> To: wu-ftpd@wunet.wustl.edu
> Content-Transfer-Encoding: 7BIT
> 
> 
> Hi, 
> 
> It's my first post to wu-ftpd mailinglist, hope its ok.
> 
> I have installed wu-ftpd ver. 2.4.
> 
> Everything installed OK, it works fine. 
> 
> But I have one problem . I cannot UPLOAd.
> 
> I mean uploading in /incoming or /pub/incoming using the anonymous access.
> 
> when I try to quote appe or upload a "testfile" I get the following:
> 
> 553 testffile: Permission denied. (Filename (accept))
> 
> Here's part of my ftpaccess ile:
> 
> upload  /home/ftp  *           yes
> upload  /home/ftp  /bin/*      no
> upload  /home/ftp  /etc/*      no
> upload  /home/ftp  /incoming*  yes  ftp staff   0644    nodirs
> 
> 
> WHAT's WRONG ???
> 
> Thanks in advance.
> 
> Dostick.
> 

From wu-ftpd-errors@wunet.wustl.edu Fri Sep  9 13:05:27 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qjCCJ-0003NwC; Fri, 9 Sep 94 13:05 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWU6NCWOW000U5G@wunet.wustl.edu>; Fri, 09 Sep 1994 14:42:29 -0500 (CDT)
Received: from lloyd.com (harry.lloyd.com)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWTU5CH4G000VSC@wunet.wustl.edu>; Fri, 09 Sep 1994 14:28:00 -0500 (CDT)
Received: by lloyd.com (Smail3.1.28.1 #3) id m0qjBcI-0005b0C; Fri,
 9 Sep 94 12:28 PDT
Date: Fri, 09 Sep 1994 12:28:04 -0700
From: Howard Chu <howard@harry.lloyd.com>
Subject: [432] Re: [429] I cannot upload a file - permission denied.
In-reply-to: Your message of "Fri, 09 Sep 1994 14:16:44 +0500."
 <9409091816.AA04336@nchgr.nih.gov>
To: hyeung@nchgr.nih.gov, wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <m0qjBcI-0005b0C@lloyd.com>
Content-transfer-encoding: 7BIT


  Hi Everyone,
   
  I ftp anonymous to the ftp server I have just setup.
  Everything works fine except when I try to upload a
  file into the upload directory.  I have the following
  message:
   
  ------------------------capture------------------
  ftp> cd incoming
  250 CWD command successful.
  ftp> ls
  200 PORT command successful.
  550 No files found.
  ftp> put .login
  200 PORT command successful.
  553 .login: Permission denied. (Filename (deny))
  ftp>
  ------------------------end----------------------
  
  I look at the permission on the directory.  It is
  set to 777. Strange! 
   
The error message "(Filename (deny))" indicates that the filename was
rejected, not that you had a directory access problem. You are probably
using the default path-filter entry, which disallows filenames that start
with a '.' . If you had tried with any other filename, it would probably
have worked.

Just as a tip, I would set the sticky bit on the incoming (and public/
outgoing) directory (mode 1777) to prevent other users on the system
from deleting each other's files...

Howard Chu, Sr. Systems Engineer               Lloyd Internetworking
howard@lloyd.com                               3031 Alhambra Drive
(916) 676-1147 - voice                         Suite 102
(916) 676-3442 - fax                           Cameron Park, CA  95682

From wu-ftpd-errors@wunet.wustl.edu Fri Sep  9 13:35:18 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qjCfD-0003GdC; Fri, 9 Sep 94 13:35 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWU6NCWOW000U5G@wunet.wustl.edu>; Fri, 09 Sep 1994 14:37:45 -0500 (CDT)
Received: from mathsun16.math.utk.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWTRGE19C000VE3@wunet.wustl.edu>; Fri, 09 Sep 1994 14:25:48 -0500 (CDT)
Received: by mathsun16.math.utk.edu (5.61++/2.6c-UTK) id AA00968; Fri,
 9 Sep 94 15:25:45 -0400
Date: Fri, 09 Sep 1994 15:25:45 -0400
From: fsmith@math.utk.edu
Subject: [431] Re: [429] I cannot upload a file - permission denied.
To: hyeung@nchgr.nih.gov, wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409091925.AA00968@mathsun16.math.utk.edu>
Content-transfer-encoding: 7BIT

> From wu-ftpd-errors@wunet.wustl.edu Fri Sep  9 14:45:21 1994
> From: hyeung@nchgr.nih.gov (Howard Yeung)
> Subject: [429] I cannot upload a file - permission denied.
> To: wu-ftpd@wunet.wustl.edu
> 
> Hi Everyone,
>  
> I ftp anonymous to the ftp server I have just setup.
> Everything works fine except when I try to upload a
> file into the upload directory.  I have the following
> message:
>  
> ------------------------capture------------------
> ftp> cd incoming
> 250 CWD command successful.
> ftp> ls
> 200 PORT command successful.
> 550 No files found.
> ftp> put .login
> 200 PORT command successful.
> 553 .login: Permission denied. (Filename (deny))
> ftp>


  Your problem appears to be with the filename itself.  Check your ftpaccess
file and see if the ^\. appears as below.

path-filter  anonymous  /etc/msgs/path.msg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
path-filter  guest      /etc/msgs/path.msg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
                     					       ^^^^^
This prevents filenames from starting with a "." and will return the
"Permission denied. (Filename (deny))" error message you received.

Good Luck

  Floyd
                                                                 

From wu-ftpd-errors@wunet.wustl.edu Fri Sep  9 14:47:10 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qjDmj-0003E4C; Fri, 9 Sep 94 14:47 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWYMYVSC0000VFB@wunet.wustl.edu>; Fri, 09 Sep 1994 16:45:22 -0500 (CDT)
Received: from sigma.itu.ch by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGWYLLWM6O000V4L@wunet.wustl.edu>; Fri, 09 Sep 1994 16:44:54 -0500 (CDT)
Received: from MR.ITU.CH by ITU.CH (PMDF V4.3-7 #4298)
 id <01HGWZXX7TK09D4HIU@ITU.CH>; Fri, 9 Sep 1994 18:49:01 CET
Received: with PMDF-MR; Fri, 9 Sep 1994 15:34:46 CET
MR-Received: by mta TIES.MUAS; Relayed; Fri, 09 Sep 1994 15:34:46 +0100
MR-Received: by mta TAU; Relayed; Fri, 09 Sep 1994 15:35:05 +0100
Disclose-recipients: prohibited
Date: Fri, 09 Sep 1994 15:34:46 +0100 (CET)
From: JARLE MARTINSEN +41 22 730 5949 <JARLE.MARTINSEN@itu.ch>
Subject: [433] soft link directory
To: WU-FTPD <WU-FTPD@wunet.wustl.edu>
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <2346341609091994/A77044/TAU/11894C222C00*@MHS>
Autoforwarded: false
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Importance: normal
Priority: normal
UA-content-id: 11894C222C00
X400-MTS-identifier: [;2346341609091994/A77044/TAU]
Hop-count: 1

Hi, 

I'm progressing in my setup of the wu-ftpd daemon.
Now I can log in, the ftpd does a chroot to my home
directory...I'm very happy for that.
But - one of my directories is actually a softlink
to somewhere else on my system.  And now I cannot
access this directory from ftp.
Common sence tells me that this directory should be
below the home directory, i.e. new / after ftp logg on.

What I'm looking for is a workaround.  I do like the fact 
that the wu-ftpd stops users from traversing upwards
in the directory structure - but at the same time I would like
them to access this particular directory (which is softlinked
to somewhere else).
I looked into the alias in ftpaccess, but I could not make it work.

Any suggestions/workarounds would be appriciated.

Also, let me congratulate all of you responsibel for the 
development of the wu-ftpd.  It's great.  

Best Regards,
/jarle


Jarle Martinsen
International Telecommunication Union (ITU)	
Geneva - Switzerland

Internet: martinsen@itu.ch
Voice:	+41 22 730 5949


From wu-ftpd-errors@wunet.wustl.edu Sun Sep 11 06:39:46 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qjp8A-0003IVC; Sun, 11 Sep 94 06:39 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGZ9M1MWS0000ZMV@wunet.wustl.edu>; Sun, 11 Sep 1994 08:21:36 -0500 (CDT)
Received: from bull (bull.rbstv.riga.lv) by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HGZ9L528CG0012AR@wunet.wustl.edu>; Sun, 11 Sep 1994 08:21:01 -0500 (CDT)
Received: by bull (AIX 3.2/UCB 5.64/4.03) id AA14441; Sun,
 11 Sep 1994 16:16:24 +0300
Date: Sun, 11 Sep 1994 16:16:24 +0300
From: root@bull.wustl.edu (Super User)
Subject: [434] Re:  [430] Re: [425] wu-ftpd can't UPLOAD !!!
To: hyeung@nchgr.nih.gov, wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: root@bull.wustl.edu, wu-ftpd@wunet.wustl.edu
Message-id: <9409111316.AA14441@bull>
Content-transfer-encoding: 7BIT

Hi all,

I found the solution of the non available uploading,
just change the line :

path-filter anonymous /usr/local/etc/pathmsg ^[-A-Za-z0-9._]*$^. ^-

to 

# path-filter anonymous /usr/local/etc/pathmsg ^[-A-Za-z0-9._]*$^. ^-

:)


Dostick.

From wu-ftpd-errors@wunet.wustl.edu Mon Sep 12 15:19:00 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkJi2-0003HvC; Mon, 12 Sep 94 15:18 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH16AR74JK000XMZ@wunet.wustl.edu>; Mon, 12 Sep 1994 17:07:41 -0500 (CDT)
Received: from Sun.COM by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH16ANXS0G0002WC@wunet.wustl.edu>; Mon, 12 Sep 1994 17:07:17 -0500 (CDT)
Received: from Eng.Sun.COM (zigzag.Eng.Sun.COM) by Sun.COM (sun-barr.Sun.COM)
 id AA17681; Mon, 12 Sep 94 15:07:56 PDT
Received: from riverwhy.Eng.Sun.COM by Eng.Sun.COM (4.1/SMI-4.1)
 id AA08519; Mon, 12 Sep 94 15:10:05 PDT
Received: by riverwhy.Eng.Sun.COM (5.0/SMI-SVR4) id AA02574; Mon,
 12 Sep 1994 15:09:07 +0800
Date: Mon, 12 Sep 1994 15:09:07 +0800
From: paulde@riverwhy.Eng.Sun.COM (Paul DeBacker)
Subject: [435] Re: [399] Instalation problem
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409122209.AA02574@riverwhy.Eng.Sun.COM>
Content-transfer-encoding: 7BIT
Content-length: 2040
X-Sun-Charset: US-ASCII


Hi Susana,

Did you ever get any help with your problem?  I'm having the same difficulties
and am wondering if you might be able to forward any fixes to me.

Thanks.

Paul DeBacker
sunsoft ir

      +From wu-ftpd-errors@wunet.wustl.edu Wed Aug 24 02:26 PDT 1994
      +Date: Wed, 24 Aug 1994 11:14:29 +0200
      +From: susana@www1.cern.ch (Susana Fernandez)
      +Subject: [399] Instalation problem
      +To: wu-ftpd@wunet.wustl.edu
      +Cc: susana@www1.cern.ch
      +Reply-To: wu-ftpd@wunet.wustl.edu
      +Content-Transfer-Encoding: 7BIT
      +Content-Type: text
      +Content-Length: 1135
      +
      +
      +Hello,
      +	I have installed wu-ftpd on a SUN Sparc2 with SunOS 4.1.3 and I've got this problem:
      +
      +
      +In /etc/inetd.conf of hostX there is the line:
      +
      +ftp     stream  tcp     nowait  root    /usr/local/bin/ftpd     ftpd -l -t600 -T900 -a
      +
      +When I run "ftp hostX" I get the message:
      +
      +	ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
      +
      +and it doesn't connect hostX, I cannot do "open hostX" either.
      +
      +So I made a copy of /usr/lib/libc.so.1.8 to /usr/lib/libc.so.1.9
      +but I get the same message
      +
      +If I make "telnet hostX 21", ftp  works although  I get the same warning message:
      +
      +	ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
      +	220 www1 FTP server (Version wu-2.4(3) Tue Aug 23 18:48:37 MET DST 1994) ready.
      +
      +
      +Any idea of what is going wrong and which is the solution?
      +
      +	Thanks in advance for any answer
      +
      +		Susana
      +
      +--------------------------------------------------------------------
      +Susana Fernandez Vega		 	e-mail: susana@www1.cern.ch
      +    WWW Support				phone:  +41 22 767 9158
      +   CERN - ECP/PT 			fax:    +41 22 767 8730
      +--------------------------------------------------------------------
      +
      +	
      +
      +
      +
      +
      +

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 13 00:27:55 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkSHQ-0003H3C; Tue, 13 Sep 94 00:27 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH1OQDE3FK000V64@wunet.wustl.edu>; Tue, 13 Sep 1994 01:56:40 -0500 (CDT)
Received: from sigma.itu.ch by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH1ON8M25S000ZWN@wunet.wustl.edu>; Tue, 13 Sep 1994 01:55:14 -0500 (CDT)
Received: from MR.ITU.CH by ITU.CH (PMDF V4.3-7 #4298)
 id <01HH23BU6K0W9D4WBZ@ITU.CH>; Tue, 13 Sep 1994 08:55:22 CET
Received: with PMDF-MR; Tue, 13 Sep 1994 07:52:03 CET
MR-Received: by mta TIES.MUAS; Relayed; Tue, 13 Sep 1994 07:52:03 +0100
MR-Received: by mta TAU; Relayed; Tue, 13 Sep 1994 07:52:09 +0100
Disclose-recipients: prohibited
Date: Tue, 13 Sep 1994 07:52:03 +0100 (CET)
From: JARLE MARTINSEN +41 22 730 5949 <JARLE.MARTINSEN@itu.ch>
Subject: [436] how to modify ftp commands
To: WU-FTPD <WU-FTPD@wunet.wustl.edu>
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <8903520813091994/A90934/TAU/11896A340200*@MHS>
Autoforwarded: false
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Importance: normal
Priority: normal
UA-content-id: 11896A340200
X400-MTS-identifier: [;8903520813091994/A90934/TAU]
Hop-count: 1

Hi,

I'm looking for a way to modify the ls and dir commands
in wu-ftpd.  I would prefer not to show hidden files,
i.e. preceded with a dot (.something).

Any pointers on how to do so would be appriciated.

Thanks.

Regards,
/jarle

Jarle Martinsen
International Telecomunnication Union (ITU)
Place des nations
CH-1211 Geneva 20
Switzerland

Internet: martinsen@itu.ch
X.400:    S=martinsen; P=itu; A=arcom; C=ch
Voice:    +41 22 730 5949
Fax:      +41 22 730 5337


From wu-ftpd-errors@wunet.wustl.edu Tue Sep 13 00:30:17 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkSJj-0003FUC; Tue, 13 Sep 94 00:30 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH1PQD4K74000YBQ@wunet.wustl.edu>; Tue, 13 Sep 1994 02:25:43 -0500 (CDT)
Received: from matrix.eden.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH1PKNUKGG0012W1@wunet.wustl.edu>; Tue, 13 Sep 1994 02:19:45 -0500 (CDT)
Received: from localhost (jher@localhost) by matrix.eden.com (8.6.5/8.6.5)
 id CAA19437; Tue, 13 Sep 1994 02:16:57 -0500
Date: Tue, 13 Sep 1994 02:16:56 -0500 (CDT)
From: jher <jher@eden.com>
Subject: [437] ftp stats program
In-reply-to: <8903520813091994/A90934/TAU/11896A340200*@MHS>
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <Pine.BSI.3.90.940913021609.19328B-100000@matrix.eden.com>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT

I remember someone posting a perl script (?) program for wu-ftpd stats.  
Anyone have a copy they can mail me? Thanks.

Only death awaits outside the Eden Matrix.
	jher@matrix.eden.com						Fnord
		SysAdmin eden.com

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 13 06:02:50 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkXVW-0003HKC; Tue, 13 Sep 94 06:02 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH20D3ZL3K000WCO@wunet.wustl.edu>; Tue, 13 Sep 1994 07:29:30 -0500 (CDT)
Received: from macadam.mpce.mq.edu.au by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH20CW8Y8G0010AV@wunet.wustl.edu>; Tue, 13 Sep 1994 07:28:06 -0500 (CDT)
Received: by macadam.mpce.mq.edu.au (5.64+/1.1) id AA11710; Tue,
 13 Sep 94 22:25:30 +1000
Date: Tue, 13 Sep 1994 22:25:30 +1000 (EST)
From: lhume@macadam.mpce.mq.edu.au (Leigh Hume)
Subject: [438] Re: [437] ftp stats program
In-reply-to: <Pine.BSI.3.90.940913021609.19328B-100000@matrix.eden.com> from
 "jher" at Sep 13, 94 02:16:56 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409131225.AA11710@macadam.mpce.mq.edu.au>
X-Mailer: ELM [version 2.4 PL22]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 10478
X-Department: School of MPCE
X-Organisation: Macquarie University 2109 , AUSTRALIA

>From your last message :

> I remember someone posting a perl script (?) program for wu-ftpd stats.  
> Anyone have a copy they can mail me? Thanks.

I think we might have something which might be useful. It was/is part of
the wuarchive. I know nothing about it.



-- 

Leigh HUME

Voice +61 2 850 9588	    Fax +61 2 850 9551	     Email lhume@mpce.mq.edu.au
Post Mail: Dr Leigh Hume, School of MPCE, Macquarie University 2109, AUSTRALIA



#! /usr/local/bin/perl
# Usage:
#   xferstats [filename|-] [filename...]
# If filename is not specified, use /usr/adm/xferlog for input
# If filename is "-", use stdin
# If filename is specified, use filename for input
# Multiple filenames may be specified, they will be read sequentially

$mydom1 = "wustl";
$mydom2 = "edu";

if ($#ARGV == -1) { $ARGV[0] = "/usr/adm/xferlog"; }

line: while (<>) {

   @line = split;
   if ($#line != 16) {
      print "NF: skip $_\n";
      next;
   }

   $daytime = substr($_, 0, 10) . substr($_, 19, 5);
   @path = split(/\//, $line[8]);

   while (length($path[1]) <= 1) {
      shift @path;
      next line if ($#path == -1);
   }

   if ($#path == 1)
      { $pathkey = "Index/Informational Files"; }
   elsif ($#path == 2)
      { $pathkey = $path[1]; }
   else
      { $pathkey = $path[1] . "/" . $path[2]; }

   $line[6] =~ tr/A-Z/a-z/;

   $xferfiles++;                                # total files sent
   $xferfiles{$daytime}++;                      # files per day
   $groupfiles{$pathkey}++;                     # per-group accesses
   $systemfiles{$line[6]}++;                    # files per host
#  $accesscnt{$line[8]}++;                      # per-file accesses

   $xfersecs{$daytime}    += $line[5];          # xmit seconds per day
   $xferbytes{$daytime}   += $line[7];          # bytes per day
   $systemsecs{$line[6]}  += $line[5];          # xmit seconds per host
   $systembytes{$line[6]} += $line[7];          # bytes per host
   $xferbytes             += $line[7];          # total bytes sent
   $groupbytes{$pathkey}  += $line[7];          # per-group bytes sent

}

@syslist = keys(systemfiles);
@dates = sort datecompare keys(xferbytes);

print "TOTALS FOR SUMMARY PERIOD ", $dates[0], " TO ", $dates[$#dates], "\n\n";
printf ("Files Transmitted During Summary Period  %12.0f\n", $xferfiles);
printf ("Bytes Transmitted During Summary Period  %12.0f\n", $xferbytes); 
printf ("Systems Using Archives                   %12.0f\n\n", $#syslist+1);

printf ("Average Files Transmitted Daily          %12.0f\n", $xferfiles / ($#dates + 1));
printf ("Average Bytes Transmitted Daily          %12.0f\n", $xferbytes / ($#dates + 1));

format top1 =

Daily Transmission Statistics

                 Number Of    Number of    Average    Percent Of  Percent Of
     Date        Files Sent  Bytes  Sent  Xmit  Rate  Files Sent  Bytes Sent
---------------  ----------  -----------  ----------  ----------  ----------
.

format line1 =
@<<<<<<<<<<<<<<  @>>>>>>>>>  @>>>>>>>>>>  @>>>>>>>>>  @>>>>>>>    @>>>>>>>  
$date,           $nfiles,    $nbytes,     $avgrate,   $pctfiles,  $pctbytes
.

$^ = top1;
$~ = line1;

foreach $date ( sort datecompare keys(xferbytes) ) {

   $nfiles   = $xferfiles{$date};
   $nbytes   = $xferbytes{$date};
   $avgrate  = sprintf("%5.1f KB/s", $xferbytes{$date}/$xfersecs{$date}/1000);
   $pctfiles = sprintf("%8.2f", 100*$xferfiles{$date} / $xferfiles);
   $pctbytes = sprintf("%8.2f", 100*$xferbytes{$date} / $xferbytes);
   write;
}

format top2 =

Total Transfers from each Archive Section

                                                 ---- Percent  Of ---- Interest
     Archive Section      Files Sent Bytes Sent  Files Sent Bytes Sent  Factor
------------------------- ---------- ----------- ---------- ---------- --------
.

format line2 =
@<<<<<<<<<<<<<<<<<<<<<<<< @>>>>>>>>> @>>>>>>>>>> @>>>>>>>   @>>>>>>>   @>>>>>>>
$section,                 $files,    $bytes,     $pctfiles, $pctbytes, $fac
.

$| = 1;
$- = 0;
$^ = top2;
$~ = line2;

dbmopen(USAGE, "/usr/adm/usage_info", 0644);
foreach $section ( sort keys(groupfiles) ) {

   $files = $groupfiles{$section};
   $bytes = $groupbytes{$section};
   $pctbytes = sprintf("%8.2f", 100 * $groupbytes{$section} / $xferbytes);
   $pctfiles = sprintf("%8.2f", 100 * $groupfiles{$section} / $xferfiles);
   $key = "/" . $section . "\0";
   if ($USAGE{$key} == 0) {
      $fac = "n/a";
   } else {
      $fac = sprintf("%8.2f", $groupbytes{$section} / $USAGE{$key});
   }
   $fac{$section} = $fac;
   write;

}

foreach $sys ( keys(systemfiles) ) {

   @address = split(/\./, $sys);

#   if (int($address[$#address]) > 0) {
#      $domain = $address[0] . "." . $address[1];
#   } else {
#      $domain = $address[$#address-1] . "." . $address[$#address];
#   }

   $domain = $address[$#address];
   if ($address[$#address-1] eq $mydom1 && $address[$#address] eq $mydom2)
      { $domain = "wustl.edu"; }
   if ( int($address[0]) > 0 || $#address < 2 )
      { $domain = "unresolved"; }

   $domainfiles{$domain} += $systemfiles{$sys};
   $domainbytes{$domain} += $systembytes{$sys};
   $domainsecs{$domain}  += $systemsecs{$sys};

}

if ( $xferfiles < 1 ) { $xferfiles = 1; }
if ( $xferbytes < 1 ) { $xferbytes = 1; }

format top3 =

Total Transfer Amount By Domain

             Number Of    Number of     Average    Percent Of  Percent Of
Domain Name  Files Sent   Bytes Sent   Xmit  Rate  Files Sent  Bytes Sent
-----------  ----------  ------------  ----------  ----------  ----------
.

format line3 =
@<<<<<<<<<<  @>>>>>>>>>  @>>>>>>>>>>>  @>>>>>>>>>  @>>>>>>>    @>>>>>>>  
$domain,     $files,     $bytes,       $avgrate,   $pctfiles,  $pctbytes
.

$- = 0;
$^ = top3;
$~ = line3;

foreach $domain ( sort domnamcompare keys(domainfiles) ) {

   if ( $domainsecs{$domain} < 1 ) { $domainsecs{$domain} = 1; }

   $files = $domainfiles{$domain};
   $bytes = $domainbytes{$domain};
   $avgrate  = sprintf("%5.1f KB/s",
                  $domainbytes{$domain}/$domainsecs{$domain}/1000);
   $pctfiles = sprintf("%8.2f", 100 * $domainfiles{$domain} / $xferfiles);
   $pctbytes = sprintf("%8.2f", 100 * $domainbytes{$domain} / $xferbytes);
   write;

}

print "\n";
print "These figures only reflect ANONYMOUS FTP transfers.  There are many\n";
print "sites which mount the archives via NFS, and those transfers are not\n";
print "logged and reported by this program.\n\n\n";

format top4 =

Top 15 Most Popular Archive Sections By Bytes Transferred

                                                 ---- Percent  of ---- Interest
     Archive Section      Files Sent Bytes  Sent Files Sent Bytes Sent  Factor
------------------------- ---------- ----------- ---------- ---------- --------
.

format line4 =
@<<<<<<<<<<<<<<<<<<<<<<<< @>>>>>>>>> @>>>>>>>>>> @>>>>>>>   @>>>>>>>   @>>>>>>>
$section,                 $files,    $bytes,     $pctfiles, $pctbytes, $fac
.

$- = 0;
$^ = top4;
$~ = line4;

@topgroups = sort bytecompare keys(groupfiles);

foreach $section ( @topgroups[0..14] ) {

   $files = $groupfiles{$section};
   $bytes = $groupbytes{$section};
   $pctfiles = sprintf("%8.2f", 100 * $groupfiles{$section} / $xferfiles);
   $pctbytes = sprintf("%8.2f", 100 * $groupbytes{$section} / $xferbytes);
   $fac = $fac{$section};
   write;
}

print "

Top 15 Most Popular Archive Sections By Interest Factor

                                                 ---- Percent  of ---- Interest
     Archive Section      Files Sent Bytes  Sent Files Sent Bytes Sent  Factor
------------------------- ---------- ----------- ---------- ---------- --------
";

format line5 =
@<<<<<<<<<<<<<<<<<<<<<<<< @>>>>>>>>> @>>>>>>>>>> @>>>>>>>   @>>>>>>>   @>>>>>>>
$section,                 $files,    $bytes,     $pctfiles, $pctbytes, $fac
.

$^ = top5;
$~ = line5;

@topgroups = sort faccompare keys(groupfiles);

foreach $section ( @topgroups[0..14] ) {

   $files = $groupfiles{$section};
   $bytes = $groupbytes{$section};
   $pctfiles = sprintf("%8.2f", 100 * $groupfiles{$section} / $xferfiles);
   $pctbytes = sprintf("%8.2f", 100 * $groupbytes{$section} / $xferbytes);
   $fac = $fac{$section};
   write;
}

print "

Bottom 15 Least Popular Archive Sections By Interest Factor

                                                 ---- Percent  of ---- Interest
     Archive Section      Files Sent Bytes  Sent Files Sent Bytes Sent  Factor
------------------------- ---------- ----------- ---------- ---------- --------
";

foreach $section ( @topgroups[$#topgroups-14..$#topgroups] ) {

   $files = $groupfiles{$section};
   $bytes = $groupbytes{$section};
   $pctfiles = sprintf("%8.2f", 100 * $groupfiles{$section} / $xferfiles);
   $pctbytes = sprintf("%8.2f", 100 * $groupbytes{$section} / $xferbytes);
   $fac = $fac{$section};
   write;
}

dbmclose(USAGE);

# print "Total Transfer Amount By System\n\n";
# print "                                  Number Of   Number of   Average\n";
# print "     System Name or Address       Files Sent  Bytes Sent  Xmit Rate\n";
# print "--------------------------------  ----------  ----------  ---------\n";
# 
# $lines = 58;
# 
# foreach $sys ( sort sysaddrcompare keys(systemfiles) ) {
# 
#  if ($systemsecs{$sys} == 0) { $systemsecs{$sys} = 1; }
# 
#  printf("%-32s  %10d  %10.0f  %5d cps\n", $sys, $systemfiles{$sys},
#         $systembytes{$sys}, $systembytes{$sys} / $systemsecs{$sys});
# 
#  if ($lines-- == 0) {
#     $lines = 58;
#     print "\n";
# 
#     print "Total Transfer Amount By System\n\n";
#     print "                                  Number Of   Number of   Average\n";
#     print "     System Name or Address       Files Sent  Bytes Sent  Xmit Rate\n";
#     print "--------------------------------  ----------  ----------  ---------\n";
# 
#  }
# }

exit(0);

sub datecompare {

   $date1  = substr($a, 11, 4) * 4800;
   $date2  = substr($b, 11, 4) * 4800;
   $date1 += index("JanFebMarAprMayJunJulAugSepOctNovDec",substr($a, 4, 3))*400;
   $date2 += index("JanFebMarAprMayJunJulAugSepOctNovDec",substr($b, 4, 3))*400;
   $date1 += substr($a, 8, 2);
   $date2 += substr($b, 8, 2);
   $date1 - $date2;

}

sub domnamcompare {

   $sdiff = length($a) - length($b);
   ($sdiff < 0) ? -1 : ($sdiff > 0) ? 1 : ($a lt $b) ? -1 : ($a gt $b) ? 1 : 0;

}

sub bytecompare {

   $bdiff = $groupbytes{$b} - $groupbytes{$a};
   ($bdiff < 0) ? -1 : ($bdiff > 0) ? 1 : ($a lt $b) ? -1 : ($a gt $b) ? 1 : 0;

}

sub faccompare {

   $fdiff = $fac{$b} - $fac{$a};
   ($fdiff < 0) ? -1 : ($fdiff > 0) ? 1 : ($a lt $b) ? -1 : ($a gt $b) ? 1 : 0;

}

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 13 08:18:03 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkZHx-0003HhC; Tue, 13 Sep 94 07:56 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH250DJPVK000ZS9@wunet.wustl.edu>; Tue, 13 Sep 1994 09:42:41 -0500 (CDT)
Received: from camco1.celestial.com (ftp.celestial.com)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH2504USG00002I0@wunet.wustl.edu>; Tue, 13 Sep 1994 09:41:24 -0500 (CDT)
Received: by camco1.celestial.com (Smail3.1.28.1 #9) id m0qkZ2h-0003HtC; Tue,
 13 Sep 94 07:41 PDT
Date: Tue, 13 Sep 1994 07:41:07 -0700 (PDT)
From: bill@celestial.com (Bill Campbell)
Subject: [440] Re: [437] ftp stats program
In-reply-to: <Pine.BSI.3.90.940913021609.19328B-100000@matrix.eden.com> from
 "jher" at Sep 13, 94 02:16:56 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Resent-reply-to: wu-ftpd@wunet.wustl.edu
Reply-to: bill@Celestial.COM
Message-id: <m0qkZ2h-0003HtC@camco1.celestial.com>
Organization: Celestial Software, Mercer Island, WA 98040
MIME-version: 1.0
X-Mailer: ELM [version 2.4 PL22]
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 5580

> 
> I remember someone posting a perl script (?) program for wu-ftpd stats.  
> Anyone have a copy they can mail me? Thanks.
> 
Here's a quickie that I put together.

Bill
--
INTERNET:  bill@Celestial.COM   Bill Campbell; Celestial Software
UUCP:              camco!bill   8545 SE 68th Street
FAX:           (206) 232-9186   Mercer Island, WA 98040; (206) 947-5591

"The strongest reason for the people to retain the right to keep and
 bear arms is, as a last resort, to protect themselves against tyranny
 in government." --1 Thomas Jefferson Papers, 334 (C.J.Boyd, Ed.,1950)

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of shell archive."
# Contents:  ftpstats.pl
# Wrapped by bill@camco1 on Tue Sep 13 07:40:53 1994
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'ftpstats.pl' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'ftpstats.pl'\"
else
echo shar: Extracting \"'ftpstats.pl'\" \(3939 characters\)
sed "s/^X//" >'ftpstats.pl' <<'END_OF_FILE'
X:
X#!/usr/local/bin/perl
Xeval ' exec /usr/local/bin/perl $0 "$@" '
X	if $running_under_some_shell;
X	shift if(join("", @ARGV) eq ""); # Xenix Kludge
X
X# $Header: /u/usr/cvs/lbin/getopt.perl,v 1.6 92/10/26 18:05:37 bill Exp $
X# $Date: 92/10/26 18:05:37 $
X# @(#) $Id: getopt.perl,v 1.6 92/10/26 18:05:37 bill Exp $
X# $Log:	getopt.perl,v $
X
X( $progname = $0 ) =~ s!.*/!!; # save this very early
X
Xdo "/usr/bin/csspath.perl" unless $ENV{'USR_BIN_CSSPATH'};
X
X$USAGE = "
X#
X#   Usage: $progname [-v] [-e var=value]
X#
X# Options   Argument    Description
X#   -s                  Print only totals.
X#   -v                  Verbose
X#
X";
X
Xsub usage {
X	die join("\n",@_) .
X	"\n$USAGE\n";
X}
X
Xdo "getopts.pl";
X
X&usage("Invalid Option") unless do Getopts("e:sv");
X
Xforeach (@opt_e) {
X	($var, $value) = split('=', $_);
X	$ENV{$var} = $value;
X}
X$verbose = '-v' if $opt_v;
X$suffix = $$ unless $opt_v;
X
Xsub un_taint {
X	local($PATH) = $ENV{'PATH'};
X	$ENV{'PATH'} = $PATH;
X	$< = $>;	# make it ignore taintedness
X	$( = $);	# gids
X}
X# &un_taint();	# make it ignore taintedness
X
X$\ = "\n";	# use newlines as separators.
Xrequire 'getdate.pl';
Xrequire 'd2s.pl';
Xpush(@ARGV, "/usr/adm/xferlog") unless @ARGV;
Xshift if $ARGV[0] eq '-';
X
Xwhile(<>) {
X	(
X		$dow, $mon, $day, $time, $year,
X		$filler,
X		$site,
X		$bytes,
X		$file,
X		$type,
X		$filler,
X		$filler,
X		$filler,
X		$login,
X		$ftp,
X		$filler,
X		$filler
X	) = split(' ');
X	# $ctime = &getdate("$dow $mon $day $time $year");
X	print STDERR "$ctime $site, $bytes, $file" if $verbose;
X	$count{$file}++;
X	$size{$file} += $bytes;
X	$size += $bytes;
X	$count++;
X	$site_bytes{$site} += $bytes;
X	$site_files{$site}++;
X	$login_bytes{$login} += $bytes;
X	$login_files{$login}++;
X}
X$sort_opts = '+1rn +0';
Xselect(STDOUT); $| = 1;
Xif ($opt_s) {
X	print join("\t", $count, &i2s($size));
X}
Xelse {
X		printf "%-61s%5s%12s\n", 'file', 'times', 'size';
X		open (OUTPUT, "| sort $sort_opts");
X		select(OUTPUT);
X		for (keys %count) {
X			printf OUTPUT ("%-61s%5d %12s\n", $_, $count{$_}, &i2s($size{$_}));
X		}
X		close(OUTPUT);
X		select(STDOUT); $| = 1;
X	printf ("%-61s%5d %12s\n\n", 'TOTALS', $count, &i2s($size));
X	printf "%-61s%5s%12s\n", 'site', 'files', 'size';
X	open (OUTPUT, "| sort -fd");
X	select(OUTPUT);
X	for (keys %site_files) {
X		printf OUTPUT ("%-61s%5d %12s\n",
X			$_, $site_files{$_}, &i2s($site_bytes{$_}));
X	}
X	close(OUTPUT);
X	select(STDOUT);
X	printf ("%-61s%5d %12s\n\n", 'TOTALS', $count, &i2s($size));
X	select(STDOUT); $| = 1;
X	printf "%-61s%5s%12s\n", 'login', 'files', 'size';
X	open (OUTPUT, "| sort -fd");
X	select(OUTPUT);
X	for (keys %login_files) {
X		printf OUTPUT ("%-61s%5d %12s\n",
X			$_, $login_files{$_}, &i2s($login_bytes{$_}));
X	}
X	close(OUTPUT);
X	select(STDOUT);
X	printf ("%-61s%5d %12s\n\n", 'TOTALS', $count, &i2s($size));
X}
X__END__
XFri Nov 19 20:58:30 1993 76 netcom3.netcom.com 447226 /pub/sco-ports/xnx/gzip124.tar.Z b _ o a bucko@netcom.com ftp 0 *
XFri Nov 19 21:01:54 1993 28 netcom3.netcom.com 157887 /pub/sco-ports/xnx/smail2.5.tar.gz b _ o a bucko@netcom.com ftp 0 *
XFri Nov 19 23:41:14 1993 227 netcom2.netcom.com 1356511 /pub/sco-ports/xnx/cnews-pe.tar.gz b _ o a bucko@netcom.com ftp 0 *
XFri Nov 19 23:42:39 1993 83 netcom2.netcom.com 508818 /pub/sco-ports/xnx/gtar-1.11.2.tar.gz b _ o a bucko@netcom.com ftp 0 *
XFri Nov 19 23:43:27 1993 47 netcom2.netcom.com 289812 /pub/sco-ports/xnx/utree-3.03b-um.tar.gz b _ o a bucko@netcom.com ftp 0 *
XFri Nov 19 23:49:41 1993 318 netcom2.netcom.com 1955456 /pub/sco-ports/xnx/perl4.0.36.tar.gz b _ o a bucko@netcom.com ftp 0 *
XFri Nov 19 23:50:38 1993 56 netcom2.netcom.com 342633 /pub/sco-ports/xnx/uniperl-1.0.tar.gz b _ o a bucko@netcom.com ftp 0 *
XSat Nov 20 04:14:27 1993 1 solair1.inter.NL.net 954 /README a _ o a pauls@inter.nl.net ftp 0 *
XSat Nov 20 04:15:15 1993 1 solair1.inter.NL.net 416 /pub/README a _ o a pauls@inter.nl.net ftp 0 *
XSat Nov 20 05:14:21 1993 401 access.digex.net 2481729 /pub/gnu/sco-ports/unix/libg++-2.4.tar.gz b _ o a arctic@ ftp 0 *
END_OF_FILE
if test 3939 -ne `wc -c <'ftpstats.pl'`; then
    echo shar: \"'ftpstats.pl'\" unpacked with wrong size!
fi
chmod +x 'ftpstats.pl'
# end of 'ftpstats.pl'
fi
echo shar: End of shell archive.
exit 0

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 13 08:58:03 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkaF0-0003EZC; Tue, 13 Sep 94 08:57 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH25082SR4000V64@wunet.wustl.edu>; Tue, 13 Sep 1994 09:42:31 -0500 (CDT)
Received: from trout.nosc.mil by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH24ZV5OXC00049Z@wunet.wustl.edu>; Tue, 13 Sep 1994 09:41:19 -0500 (CDT)
Received: from visicom.UUCP by trout.nosc.mil (4.1/SMI-4.1) id AA12081; Tue,
 13 Sep 94 07:41:42 PDT
Received: by corona.VisiCom.COM (4.1/8.21a-uucp) id AA10667; Tue,
 13 Sep 94 07:16:35 PDT
Date: Tue, 13 Sep 1994 07:16:35 -0700 (PDT)
From: Mike Trest <trest@VisiCom.COM>
Subject: [439] Re: [436] how to modify ftp commands
In-reply-to: <8903520813091994/A90934/TAU/11896A340200*@MHS>; from
 "JARLE MARTINSEN +41 22 730 5949" at Sep 13, 94 7:52 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: visicom!VisiCom.COM!trest@wunet.wustl.edu, wu-ftpd@wunet.wustl.edu
Message-id: <9409131416.AA10667@corona.VisiCom.COM>
X-Mailer: ELM [version 2.3 PL11]
Content-transfer-encoding: 7BIT

> I'm looking for a way to modify the ls and dir commands
> in wu-ftpd.  I would prefer not to show hidden files,
> i.e. preceded with a dot (.something).

There are two ways:  (a) Modify the flags passed to "ls"
by wu-ftp or (b) modify the ls command.

Modification of ls was easiest for me.  
I simply commented out the "a" flag logic.

====================================================
Mike Trest                      trest@visicom.com
Senior Engineer                 Voice: 619 457 2111
VisiCom Laboratories            Fax:   619 457 0888
10052 Mesa Ridge Court          San Diego, CA 92121
====================================================

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 13 09:16:25 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkaWu-0003KNn; Tue, 13 Sep 94 09:16 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH26XHA2V4000XE4@wunet.wustl.edu>; Tue, 13 Sep 1994 10:37:17 -0500 (CDT)
Received: from weber.ucsd.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH25SL9R7400135R@wunet.wustl.edu>; Tue, 13 Sep 1994 10:04:17 -0500 (CDT)
Received: (from corrigan@localhost) by weber.ucsd.edu (8.6.9/8.6.9)
 id IAA05499; Tue, 13 Sep 1994 08:04:57 -0700
Date: Tue, 13 Sep 1994 08:04:57 -0700
From: "Michael J. Corrigan" <corrigan@ucsd.edu>
Subject: [441] Re: [440] Re: [437] ftp stats program
In-reply-to: <m0qkZ2h-0003HtC@camco1.celestial.com>
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: corrigan@weber.ucsd.edu, wu-ftpd@wunet.wustl.edu
Message-id: <199409131504.IAA05499@weber.ucsd.edu>
Content-transfer-encoding: 7BIT
Precedence: junk
References: <m0qkZ2h-0003HtC@camco1.celestial.com>

I received your mail.
I am on vacation until Monday, Sep 19.
I will respond then.
Send mail to staff@weber.ucsd.edu if you need immediate help.
-- 

-mike

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 13 11:49:18 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkcuo-0003IyC; Tue, 13 Sep 94 11:49 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH2AYIWQJK000YL5@wunet.wustl.edu>; Tue, 13 Sep 1994 12:33:55 -0500 (CDT)
Received: from fastrac.llnl.gov by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH2AC12E7K000YHW@wunet.wustl.edu>; Tue, 13 Sep 1994 12:13:44 -0500 (CDT)
Received: from localhost.llnl.gov by fastrac.llnl.gov (8.6.8.1/LLNL-1.18)
 id KAA29499; Tue, 13 Sep 1994 10:15:23 -0700
Date: Tue, 13 Sep 1994 10:15:22 -0700
From: "Paul S. Mauvais" <mauvais@fastrac.llnl.gov>
Subject: [442] A few problems :-)
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409131715.KAA29499@fastrac.llnl.gov>
Content-transfer-encoding: 7BIT

I've ran into two problems with the setup and operation of v2.4 of
the wu-ftpd.

1)	I can't get it to work with more than one 'autogroup' line.  It
	only pays attention to the first.  It would be really useful
	to be able to have multiple lines with different privileges for
	each....

2)	I have an automated ftp process that crashes now because the
	RNFR/RNTO process won't allow a $ in the filename.  Is there
	one simple place I can fix this in the code?  I'd rather not
	change the side that's sending the files with the $ in the names
	because it's this ugly old script that no one wants to touch for
	fear of it exploding :-)

I'd appreciate any info anyone might have to help me out....

Thanks!

Paul Mauvais
mauvais1@llnl.gov

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 13 15:19:24 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkgCA-00039gC; Tue, 13 Sep 94 15:19 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH2K59RWA800165F@wunet.wustl.edu>; Tue, 13 Sep 1994 16:55:36 -0500 (CDT)
Received: from gdwest.gd.com (134.120.3.2)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH2K5696680015YA@wunet.wustl.edu>; Tue, 13 Sep 1994 16:54:30 -0500 (CDT)
Received: by gdwest.gd.com (4.1/SMI-4.1) id AA08055; Tue, 13 Sep 94 14:49:43 PDT
Date: Tue, 13 Sep 1994 14:49:43 -0700 (PDT)
From: mcbride@gdwest.gd.com (Mike McBride)
Subject: [443] problems with wuftp 2.4
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409132149.AA08055@gdwest.gd.com>
Content-transfer-encoding: 7BIT


I've encountered a couple of problems and have even more questions regarding setup
of v2.4 wu-ftpd.

1) I've statically linked ls, gnutar, compress, gzip and gunzip. I've placed these
   files in the ~ftp/bin directory.  How does an ftp user execute these binaries?
   The docs mention SITE EXEC, but it doesn't really explain the operation.

   In additon, I've modified the ls command to not recognize the dot files, but
   when I log in via anonymous ftp I can see the .rhosts and .forward files.
   Seems like the ls command that is in the ~ftp/bin directory isn't being used.
   Whats going on here?

2) I've followed the directions regarding permissions on the /pub/incoming directory,
   but I would like to have the ftp user see the files when an ls is executed. 
   Is there any security risk to allow the ~ftp/pub/incoming directory to be readable?

3) Does the welcome.msg/login files need to exist in the ~ftp hierachy, or should they
   be links to other file systems?  The reason I ask is I can log into other anonymous
   ftp sites that have welcome/login announcements, but when I try to find those files
   in the ftp hierachy - I don't see them! Uhh..



Thanks in advance..

Mike McBride
mcbride@gdwest.gd.com


From wu-ftpd-errors@wunet.wustl.edu Wed Sep 14 07:10:47 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkv2o-0003L2C; Wed, 14 Sep 94 07:10 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3HWK3BKG000ZIX@wunet.wustl.edu>; Wed, 14 Sep 1994 09:03:53 -0500 (CDT)
Received: from sigma.itu.ch by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3HUQU7O0000VVA@wunet.wustl.edu>; Wed, 14 Sep 1994 09:01:39 -0500 (CDT)
Received: from MR.ITU.CH by ITU.CH (PMDF V4.3-7 #4298)
 id <01HH3VWSJ83K9D50R5@ITU.CH>; Wed, 14 Sep 1994 16:01:37 CET
Received: with PMDF-MR; Wed, 14 Sep 1994 14:59:51 CET
MR-Received: by mta TIES.MUAS; Relayed; Wed, 14 Sep 1994 14:59:51 +0100
MR-Received: by mta TAU; Relayed; Wed, 14 Sep 1994 15:00:07 +0100
Disclose-recipients: prohibited
Date: Wed, 14 Sep 1994 14:59:51 +0100 (CET)
From: JARLE MARTINSEN +41 22 730 5949 <JARLE.MARTINSEN@itu.ch>
Subject: [444] Re: [439] Re: [436] how to modify ftp commands
In-reply-to: <9409131416.AA10667@corona.VisiCom.COM>
To: "visicom!VisiCom.COM!trest" <visicom!VisiCom.COM!trest@wunet.wustl.edu>,
 wu-ftpd <wu-ftpd@wunet.wustl.edu>
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <5451591514091994/A00136/TAU/118973FB3100*@MHS>
Autoforwarded: false
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Importance: normal
Priority: normal
UA-content-id: 118973FB3100
X400-MTS-identifier: [;5451591514091994/A00136/TAU]
Hop-count: 1

Still having problems with ls and dir within 
the wu-ftpd - actually the more I look the more
confused I get....:-)

Here goes....

Machine: DEC Alpha running OSF/1 v2.0

Me: 	Moderate to low UNIX experiance, and no c programming
	knowledge at all...

Generell:	wu-ftpd works, i.e. I can log on as a user, put, get,
	ls and dir works.... 
	wu-ftpd is started from a shell (ref. in inetd.conf)
		chroot /u /usr/sbin/ftpd 
	All files/directories to run ftp is setup under /u (new
	root). 

Want: 	to avoid listing of all UNIX hidden files, i.e. .filename

For ls:	I removed the ls executable....but still the ls works from
	wu-ftpd, indicating that the ls is an internal function to
	wu-ftpd.  
	What/where to change to suppress the ls -A listing??
	(I really want to hide those .file files)

For dir:	I modified all references of "ls -lA" in  ftpd.c, to "ls -lF"
	(then build osf, then copy executable to proper location)
	 But no....no change.  What am I missing....

For dir(2)	Then I made a shell (called ls) to call instead of the ls 
	executable....

		#!/bin/sh
		echo "$1"
		/bin/ls.org "$1"

	(chmod +x)
	(/bin/sh is actuallu /u/bin/sh)
	But this script is not even executed.  I.e. dir from wu-ftp
	gives no listing at all.  Looks like the wu-ftpd will not run
	a shell script....or I'm missing something (again).

	
Any help, pointers, guidense is appricated.

Best Regards,
/jarle

Jarle Martinsen
International Telecomunnication Union (ITU)
Place des nations
CH-1211 Geneva 20
Switzerland

Internet: martinsen@itu.ch
X.400:    S=martinsen; P=itu; A=arcom; C=ch
Voice:    +41 22 730 5949
Fax:      +41 22 730 5337

>>> I'm looking for a way to modify the ls and dir commands
>>> in wu-ftpd.  I would prefer not to show hidden files,
>>> i.e. preceded with a dot (.something).
>>
>>There are two ways:  (a) Modify the flags passed to "ls"
>>by wu-ftp or (b) modify the ls command.
>>
>>Modification of ls was easiest for me.  
>>I simply commented out the "a" flag logic.
>>
>>====================================================
>>Mike Trest                      trest@visicom.com
>>Senior Engineer                 Voice: 619 457 2111
>>VisiCom Laboratories            Fax:   619 457 0888
>>10052 Mesa Ridge Court          San Diego, CA 92121
>>====================================================


From wu-ftpd-errors@wunet.wustl.edu Wed Sep 14 08:35:38 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkwMw-0003GlC; Wed, 14 Sep 94 08:35 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3JUJPFZK000VKD@wunet.wustl.edu>; Wed, 14 Sep 1994 09:58:35 -0500 (CDT)
Received: from math.utah.edu (csc-sun.math.utah.edu)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3JUCWU1S000WR0@wunet.wustl.edu>; Wed, 14 Sep 1994 09:57:21 -0500 (CDT)
Received: from solitude.math.utah.edu by math.utah.edu
 (4.1/SMI-4.1-utah-csc-server) id AA20432; Wed, 14 Sep 94 08:57:31 MDT
Date: Wed, 14 Sep 1994 08:57:31 -0600 (MDT)
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Subject: [445] ls in wu-ftp
To: JARLE MARTINSEN +41 22 730 5949 <JARLE.MARTINSEN@itu.ch>,
 wu-ftpd@wunet.wustl.edu
Cc: beebe@math.utah.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <CMM.0.90.2.779554650.beebe@solitude.math.utah.edu>
Content-transfer-encoding: 7BIT
X-Us-Mail:
 "Center for Scientific Computing, University of Utah, Salt Lake City, UT 84112"
X-Telephone: +1 801 581 5254
X-Fax: +1 801 581 4148

Jarle Martinsen writes on Wed, 14 Sep 1994 14:59:51 +0100 (CET) to ask
how the ls and dir commands work, so that he can modify them for local
needs.  Here are my comments:

The wu-ftpd ls command is implemented internally if no ls switches are
given; if any are, then an external ls is used.  Since dir is
equivalent to "ls -l", or whatever the ftpaccess file says, it too
results in an external ls program being invoked.

Thus, if you want to modify the behavior of the bare ls command, to
e.g. not show filenames beginning with a dot, then you need to change
the source code.  Look in ftpd.c, about 93% into the file, for the
code section beginning with the call to readdir().

File names are not stored in sorted order in UNIX directories, so the
standard wu-ftpd code in response to an ls command will produce
unordered output, which is quite frustrating for users.  To solve this
problem, I have a transparent replacement for the
readdir()/opendir()/closedir() routines that guarantee a sorted
traversal, while requiring ONLY the addition of a single #include in
the source code, and the addition of another C source file to the
Makefile source file list.  This code is available on request;
however, I won't place it in an ftp directory, to reduce the
possibilities for modification by an intruder.

========================================================================
Nelson H. F. Beebe                      Tel: +1 801 581 5254
Center for Scientific Computing         FAX: +1 801 581 4148
Department of Mathematics, 105 JWB      Internet: beebe@math.utah.edu
University of Utah
Salt Lake City, UT 84112, USA
========================================================================

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 14 09:42:21 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkxPX-00035YC; Wed, 14 Sep 94 09:42 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3MX0XGWG00121C@wunet.wustl.edu>; Wed, 14 Sep 1994 11:25:53 -0500 (CDT)
Received: from pixmap.pixel.Kodak.COM by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3MWTZ8EO0010MG@wunet.wustl.edu>; Wed, 14 Sep 1994 11:24:53 -0500 (CDT)
Received: from magpie.pixel.Kodak.COM by pixmap.pixel.Kodak.COM with SMTP id
 AA20088 (5.65c+/IDA-1.5 for <wu-ftpd@wunet.wustl.edu>); Wed,
 14 Sep 1994 12:25:33 -0400
Received: from granny.pixel.Kodak.COM.birdsnest (granny.pixel.Kodak.COM)
 by magpie.pixel.Kodak.COM with SMTP id AA04539
 (5.65c/IDA-1.4.4 for <wu-ftpd@wunet.wustl.edu>); Wed,
 14 Sep 1994 12:25:20 -0400
Date: Wed, 14 Sep 1994 12:25:20 -0400
From: Don Cox 61919 <dcox@pixel.Kodak.COM>
Subject: [446] FYI - core dump from ftp!
To: wu-ftpd@wunet.wustl.edu
Cc: dcox@pixel.kodak.com
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: dcox@pixel.Kodak.COM, wu-ftpd@wunet.wustl.edu
Message-id: <199409141625.AA04539@magpie.pixel.Kodak.COM>
Content-transfer-encoding: 7BIT

The followeing note was sent by a user of our ftp machine:



********************************************************************
********************************************************************
You might be interested in this. The following .netrc file crashes my
ftp.
 
.netrc ==============================================================
machine ftp.whereever.com
        login ftp
        password -user@somewhere.au
        macdef HOME
                lcd
                lcd ftp
 
        macdef init
                bin
                $HOME
 
====================================================================
 
You will note the password starts with a "-". Interestingly it does not
crash if the macros init and HOME are deleted.
********************************************************************
********************************************************************



The ftp machine is a Sun4/110 running SunOS4.1.3, Version wu-2.4(2).
Is this a bug, and if so, is there a fix? Thanks much.


 Don Cox   dcox@pixel.kodak.com   <><
"Please take a number ... you are number 810." 
"Now serving Number 25 ..." 
My opinions only... Kodak had nothing to do with it!

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 14 10:46:54 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qkyAw-0003CgC; Wed, 14 Sep 94 10:31 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3OOOUD0G00110G@wunet.wustl.edu>; Wed, 14 Sep 1994 12:15:56 -0500 (CDT)
Received: from magrathea.csd.uwm.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3OOLS8WG0013A7@wunet.wustl.edu>; Wed, 14 Sep 1994 12:15:29 -0500 (CDT)
Received: from localhost (wls@localhost) by magrathea.csd.uwm.edu (8.6.4/8.6.4)
 id MAA03259 for wu-ftpd@wunet.wustl.edu; Wed, 14 Sep 1994 12:16:17 -0500
Date: Wed, 14 Sep 1994 12:16:16 -0500 (CDT)
From: Bill Stapleton <wls@magrathea.csd.uwm.edu>
Subject: [447] Re: [445] ls in wu-ftp
In-reply-to: <CMM.0.90.2.779554650.beebe@solitude.math.utah.edu> from
 "Nelson H. F. Beebe" at Sep 14, 94 08:57:31 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409141716.MAA03259@magrathea.csd.uwm.edu>
MIME-version: 1.0
X-Mailer: ELM [version 2.4 PL23beta2]
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 336
Word-of-the-day: thermometric


Hi.

In the WU-FTPD mailing list, you wrote:

> ...  This code is available on request;
> however, I won't place it in an ftp directory, to reduce the
> possibilities for modification by an intruder.

I'd like to recieve a copy of your "sorted directory" code please.

--
Bill Stapleton
     wls@magrathea.csd.uwm.edu
     uwmcsd4!wls

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 14 15:09:51 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0ql2WT-0003P7C; Wed, 14 Sep 94 15:09 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3YI420VK000ZIJ@wunet.wustl.edu>; Wed, 14 Sep 1994 16:57:19 -0500 (CDT)
Received: from math.utah.edu (csc-sun.math.utah.edu)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3YHV2400000Y8A@wunet.wustl.edu>; Wed, 14 Sep 1994 16:56:23 -0500 (CDT)
Received: from solitude.math.utah.edu by math.utah.edu
 (4.1/SMI-4.1-utah-csc-server) id AA23784; Wed, 14 Sep 94 15:57:04 MDT
Date: Wed, 14 Sep 1994 15:57:04 -0600 (MDT)
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Subject: [448] Re: [447] Re: [445] ls in wu-ftp
In-reply-to: Your message of Wed, 14 Sep 1994 12:16:16 -0500 (CDT)
To: wu-ftpd@wunet.wustl.edu
Cc: beebe@math.utah.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <CMM.0.90.2.779579823.beebe@solitude.math.utah.edu>
Content-transfer-encoding: 7BIT
X-Us-Mail:
 "Center for Scientific Computing, University of Utah, Salt Lake City, UT 84112"
X-Telephone: +1 801 581 5254
X-Fax: +1 801 581 4148

>> I'd like to recieve a copy of your "sorted directory" code please.
It is on its way in a separate mail message.  Look at the README.UTAH
file for a thorough discussion of the issues.

========================================================================
Nelson H. F. Beebe                      Tel: +1 801 581 5254
Center for Scientific Computing         FAX: +1 801 581 4148
Department of Mathematics, 105 JWB      Internet: beebe@math.utah.edu
University of Utah
Salt Lake City, UT 84112, USA
========================================================================

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 14 15:16:36 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0ql2d0-0003DHC; Wed, 14 Sep 94 15:16 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3YL381RK0015MF@wunet.wustl.edu>; Wed, 14 Sep 1994 17:00:06 -0500 (CDT)
Received: from gatekeeper.esl.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH3YKT7YSW000WJY@wunet.wustl.edu>; Wed, 14 Sep 1994 16:58:47 -0500 (CDT)
Received: from mirage.esl.com by gatekeeper.esl.com (4.1/SMI-4.1)
 id AA12374; Wed, 14 Sep 94 14:59:17 PDT
Received: from elmos.esl.com by mirage.esl.com (4.1/SMI-4.1) id AA20346; Wed,
 14 Sep 94 14:59:25 PDT
Date: Wed, 14 Sep 1994 14:59:25 -0700 (PDT)
From: dwa@mirage.esl.com (Dana Albrecht)
Subject: [449] Help needed configuring ftphosts file on wu-ftpd 2.4
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409142159.AA20346@mirage.esl.com>
Content-transfer-encoding: 7BIT

I recently installed wu-ftpd 2.4 on my SunOS 4.1.3 system.  I was
previously running the standard SunOS ftpd daemon.

I want to limit ftp access by "real" accounts to requests from a list
of trusted ip addresses.  This was previously accomplished by simply
running tcp_wrappers to limit access to Sun's ftpd to my list of
trusted hosts.

I now wish to allow an anonymous login from any site, but a "real"
login only from my trusted sites.  I've tried various things in the
ftphosts file, but I can't seem to get it to do what I want.

Any help is greatly appreciated.

Dana W. Albrecht
dwa@mirage.esl.com

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 15 05:38:11 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlG4n-0003DoC; Thu, 15 Sep 94 05:38 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH4T6681E80018IQ@wunet.wustl.edu>; Thu, 15 Sep 1994 07:35:21 -0500 (CDT)
Received: from xsl2.msfc.nasa.gov by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH4T62QDUO000YOJ@wunet.wustl.edu>; Thu, 15 Sep 1994 07:34:53 -0500 (CDT)
Received: by xsl2.msfc.nasa.gov (5.0/SMI-SVR4) id AA04278; Thu,
 15 Sep 1994 07:30:04 +0600
Date: Thu, 15 Sep 1994 07:30:03 -0500 (CDT)
From: Alan Cunningham <cunnida@xsl2.msfc.nasa.gov>
Subject: [450] Problems with incoming area permissions
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <Pine.3.89.9409150737.A4263-0100000@xsl2>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-length: 992

I have tried and tried to set up an incoming directory to permit users to 
blindly upload files to our system.  However, no matter what combination 
of permissions and upload lines in ftpaccess I try, the only message I 
get is permission denied.  I never see 'permission denied (upload)' like 
I see in the sources, so I must have something wrong much earlier.

The environmental data is: wu-ftpd-2.3 on SPARCserver 1000 with Solaris 2.3

I would welcome email from any successful sysadmins who have already 
crossed this mountain.

Many thanks.
/Alan/
===============
D. Alan Cunningham, KD4ESE, Principal Engineer NASA Spacelink Project
Computer Sciences Corporation, PrISMS at NASA/MSFC Phone:205-544-3091
Email: cunnida@xsl2.msfc.nasa.gov                    Fax:205-544-2362
Snail Mail: P.O. Box 240005  MS-301,       Huntsville, AL  35824-6405
Location:  Bldg 4727 Room 112, Marshall Space Flight Center, AL 35812
NASA Spacelink  Modems:205-895-0028  Internet:spacelink.msfc.nasa.gov


From wu-ftpd-errors@wunet.wustl.edu Thu Sep 15 06:43:16 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlH5m-0003CuC; Thu, 15 Sep 94 06:43 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH4UXIL4DC0010X5@wunet.wustl.edu>; Thu, 15 Sep 1994 08:26:41 -0500 (CDT)
Received: from bull.rbstv.riga.lv by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH4UX6KYW00012I0@wunet.wustl.edu>; Thu, 15 Sep 1994 08:25:09 -0500 (CDT)
Received: by bull.rbstv.riga.lv (AIX 3.2/UCB 5.64/4.03) id AA17645; Thu,
 15 Sep 1994 16:22:31 +0300
Date: Thu, 15 Sep 1994 16:22:31 +0300 (WET)
From: root@bull.rbstv.riga.lv (Super User)
Subject: [451] Re: [450] Problems with incoming area permissions
In-reply-to: <Pine.3.89.9409150737.A4263-0100000@xsl2> from "Alan Cunningham"
 at Sep 15, 94 07:30:03 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409151322.AA17645@bull.rbstv.riga.lv>
MIME-version: 1.0
X-Mailer: ELM [version 2.4 PL24]
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 1103

> 
> I have tried and tried to set up an incoming directory to permit users to 
> blindly upload files to our system.  However, no matter what combination 
> of permissions and upload lines in ftpaccess I try, the only message I 
> get is permission denied.  I never see 'permission denied (upload)' like 
> I see in the sources, so I must have something wrong much earlier.
> 
> The environmental data is: wu-ftpd-2.3 on SPARCserver 1000 with Solaris 2.3
> 
> I would welcome email from any successful sysadmins who have already 
> crossed this mountain.
> 
> Many thanks.
> /Alan/
> ===============
> D. Alan Cunningham, KD4ESE, Principal Engineer NASA Spacelink Project
> Computer Sciences Corporation, PrISMS at NASA/MSFC Phone:205-544-3091
> Email: cunnida@xsl2.msfc.nasa.gov                    Fax:205-544-2362
> Snail Mail: P.O. Box 240005  MS-301,       Huntsville, AL  35824-6405
> Location:  Bldg 4727 Room 112, Marshall Space Flight Center, AL 35812
> NASA Spacelink  Modems:205-895-0028  Internet:spacelink.msfc.nasa.gov
> 
> 
> 
Remmove the PATH-ilter line from ftpaccess file.

Dostick.


From wu-ftpd-errors@wunet.wustl.edu Thu Sep 15 10:22:09 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlKVX-0003GTC; Thu, 15 Sep 94 10:22 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH51Q5FJ00000042@wunet.wustl.edu>; Thu, 15 Sep 1994 11:41:22 -0500 (CDT)
Received: from visionware.com (SIOUX.VISIONWARE.COM)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH51Q0X63400008E@wunet.wustl.edu>; Thu, 15 Sep 1994 11:40:04 -0500 (CDT)
Received: by visionware.com (4.1/SMI-4.1) id AA11289; Thu,
 15 Sep 94 09:38:15 PDT
Date: Thu, 15 Sep 1994 09:38:15 -0700 (PDT)
From: pats@visionware.com (Patrick Salsbury)
Subject: [452] Re: [450] Problems with incoming area permissions
In-reply-to: <Pine.3.89.9409150737.A4263-0100000@xsl2> (message from Alan
 Cunningham on Thu, 15 Sep 1994 07:30:03 -0500 (CDT))
To: wu-ftpd@wunet.wustl.edu
Cc: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409151638.AA11289@visionware.com>
Content-transfer-encoding: 7BIT

Here's what I've got in our pub/incoming directory.....

>ls -al pub/incoming 	[From within our FTP tree]

total 13
dr-xr-sr-x 13 ftp           512 Sep  7 15:37 ./
dr-xr-sr-x 12 ftp           512 Aug 24 15:33 ../
drwxrwsrwx  2 ftp           512 Sep  8 08:02 carlm/
drwxrwsrwx  2 ftp           512 Sep 14 07:37 chrism/
drwxrwsrwx  2 ftp           512 Feb  3  1994 georgel/
drwxrwsrwx  2 ftp           512 Jun 23 08:02 haris/
drwxrwsrwx  2 ftp           512 Sep  2 10:23 lpesce/
drwxrwsrwx  2 ftp           512 Sep  9 07:49 misc/
drwxrwsrwx  2 ftp           512 Sep 14 14:28 mktg/
drwxrwsrwx  2 ftp           512 Sep  1 22:15 pats/
drwxrwsrwx  2 ftp           512 Aug 23 09:42 rolandl/
drwxrwsrwx  2 ftp           512 Jul  5 09:35 stevef/
drwxrwsrwx  2 ftp           512 Sep 13 08:23 timl/


	Thus, we have subdirectories which are world read/writable for various
people and groups. Then those people have a "drop box" for things coming in or
going out.

	Hope this helps!

Pat
-------------------------------------------------------------------------------
	  Patrick Salsbury 				VisionWare
Technical Support/System Administration        4500 Bohannon Dr., Suite #280
	Voice: 415/325-2113		   	   Menlo Park, CA 94025
	 FAX: 415/325-8710		     X/UNIX/PC Integration Specialists

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 15 10:37:18 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlKkE-0003C0C; Thu, 15 Sep 94 10:37 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH52K26Z340000A3@wunet.wustl.edu>; Thu, 15 Sep 1994 12:05:32 -0500 (CDT)
Received: from wugate.wustl.edu (wugate) by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH52JDM1G00000A5@wunet.wustl.edu>; Thu, 15 Sep 1994 12:02:55 -0500 (CDT)
Received: by wugate.wustl.edu (5.67b/WUSTL-0.3) with SMTP id AA07575; Thu,
 15 Sep 1994 10:26:15 -0500
Received: (from rensing@localhost) by sun1.biologie.uni-freiburg.de
 (8.6.9/8.6.9) id RAA05005 for wu-ftpd@wunet.wustl.edu; Thu,
 15 Sep 1994 17:23:33 +0200
Date: Thu, 15 Sep 1994 17:23:33 +0200 (MET DST)
From: Stefan Rensing <rensing@sun1.biologie.uni-freiburg.de>
Subject: [453] Problem with wu-ftpd 2.4 on Sparc 10/Solaris 2.1
To: wu-ftpd@wunet.wustl.edu (wu-ftpd )
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409151523.RAA05005@sun1.biologie.uni-freiburg.de>
X-Mailer: ELM [version 2.4 PL23]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 1364

Hello,
we are currently trying to install wu-ftpd 2.4 on a SUN sparcstation 10/30
with Solaris 2.1.
We followed the steps in the install doc and left most of the config files
blank. When we started the demon everything seemed okay, except the fact
that when we made a ftp connection cursor and mouse were locked so we
had to shutdown the machine.
Then we configured some things (we mainly used and changed a configuration
which runs on a SG Indy here) and did some chmods and so on. When we
try to start the demon now, is stops after some seconds saying
221 Server shutting down.  Goodbye.
When making a ftp connection the connection crashes after entering the
user-id.
Perhaps someone has any suggestions ?
(We have carried out the usual SUN specific modifications like
putting the required libs in ~/ftp/usr/lib; however we did not know
which knods we have to create in ~/ftp/dev. Two are mentioned in the
install doc, but they differ from those we already had for the standard
ftpd)

Thanks in advance,

Stefan Rensing.

-- 
Stefan Rensing                     | e-mail : ->
Institut f. Biologie II / Zellbiol.|    rensing@sun1.biologie.uni-freiburg.de
Schaenzlestr. 1                    | Phone  : +49 761 203 2676 / Fax : 2675
D-79104 Freiburg (Germany)         | "Warp 5, Mister Sulu !"
      <WWW: http://www.biologie.uni-freiburg.de/data/people/lije.html>

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 15 15:55:48 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlPiU-0003N1C; Thu, 15 Sep 94 15:55 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH5EPV0Y8W000042@wunet.wustl.edu>; Thu, 15 Sep 1994 17:52:10 -0500 (CDT)
Received: from gdwest.gd.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH5EPRHYHS0000T0@wunet.wustl.edu>; Thu, 15 Sep 1994 17:51:42 -0500 (CDT)
Received: by gdwest.gd.com (4.1/SMI-4.1) id AA15135; Thu, 15 Sep 94 15:50:55 PDT
Date: Thu, 15 Sep 1994 15:50:55 -0700 (PDT)
From: mcbride@gdwest.gd.com (Mike McBride)
Subject: [454] Problems with wuftp 2.4
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409152250.AA15135@gdwest.gd.com>
Content-transfer-encoding: 7BIT



I'm having a problem with permissions, and other related issues.
I've installed wuftp 2.4 on sunos 4.1.3. 

1) Anonymous ftp users can log into the ftp server just fine, but the real users
   get permission denied. The user is not in the ftpusers file and the fpthosts
   and ftpgroup files our empty.  Whats goin on?

ftpaccess file
class   all   real,guest,anonymous  *

220 gdwest FTP server (Version wu-2.4(1) Wed Sep 7 12:23:56 PDT 1994) ready.
Name (gdwest:mcbride): mcbride
530 User mcbride access denied...
Login failed.
ftp> 
   


2) I've configured the /pub/incoming and the /pub/outgoing directories with the
   appropriate permissions. The incoming directory is setup so anonymous can only
   put files.  The outgoing is setup so anonymous can only get files.  I guess I'm
   a little confused how the real users are going to get their files in the
   incoming directory and put their files in the outgoing directory.

   Should I have a common repository for real users to place thier files, and
   have a script that will put thier files in the outgoing directory?

   Likewise, should a script be run that will get the files that are sent to the 
   incoming directory,  and place those files in a common area for the real users 
   to get?

   OR - Is there a better way within wuftp to configure real users to accomplish
   the same tasks while not changing the permissions on the incoming or outgoing
   directories?
  


Thanks in advance..

Mike McBride
mcbride@gdwest.gd.com


From wu-ftpd-errors@wunet.wustl.edu Fri Sep 16 09:20:31 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlg1U-00037QC; Fri, 16 Sep 94 09:20 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6DUD3WZK0000WN@wunet.wustl.edu>; Fri, 16 Sep 1994 10:38:23 -0500 (CDT)
Received: from tuna.wang.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6DU7ZUU80001SZ@wunet.wustl.edu>; Fri, 16 Sep 1994 10:37:49 -0500 (CDT)
Received: from elf.wang.com by tuna.wang.com with SMTP id AA09921
 (5.67a/IDA-1.5 for <wu-ftpd@wunet.wustl.edu>); Fri, 16 Sep 1994 11:36:36 -0400
Received: from fubar.wang.com by elf.wang.com with SMTP id AA25793
 (5.67a/IDA-1.5 for <wu-ftpd@wunet.wustl.edu>); Fri, 16 Sep 1994 11:36:15 -0400
Received: by fubar.wang.com (5.67b/TF8) id AA04012; Fri,
 16 Sep 1994 11:33:35 -0400
Date: Fri, 16 Sep 1994 11:33:35 -0400 (EDT)
From: Forrest Aldrich <forrie@wang.com>
Subject: [455] Compiling on AIX 3.2.5
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409161533.AA04012@fubar.wang.com>
X-Mailer: ELM [version 2.4 PL23]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 372

I've run into some problems with wuftp on AIX 3.2.5.  It may be
a configuration error, but I've not been able to determine it.

When I connect, regardless of the username specified, I get access
denied.  Anyone know why this is happening and how to correct it?

I do have HOST ACCESS defined, but tried compiling without this
defined, and still the same problem perists.

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 16 09:31:55 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlgCU-0003N5C; Fri, 16 Sep 94 09:31 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6FJAKS8G0001SX@wunet.wustl.edu>; Fri, 16 Sep 1994 11:27:02 -0500 (CDT)
Received: from tuna.wang.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6EXL1LQ80001U2@wunet.wustl.edu>; Fri, 16 Sep 1994 11:08:46 -0500 (CDT)
Received: from elf.wang.com by tuna.wang.com with SMTP id AA10552
 (5.67a/IDA-1.5 for <wu-ftpd@wunet.wustl.edu>); Fri, 16 Sep 1994 12:07:33 -0400
Received: from fubar.wang.com by elf.wang.com with SMTP id AA27136
 (5.67a/IDA-1.5 for <wu-ftpd@wunet.wustl.edu>); Fri, 16 Sep 1994 12:07:13 -0400
Received: by fubar.wang.com (5.67b/TF8) id AA04299; Fri,
 16 Sep 1994 12:04:30 -0400
Date: Fri, 16 Sep 1994 12:04:29 -0400 (EDT)
From: Forrest Aldrich <forrie@wang.com>
Subject: [457] Re: [456] Re: [455] Compiling on AIX 3.2.5
In-reply-to: <199409161551.LAA19656@tigger.itc.Virginia.EDU> from
 "Bill Pemberton" at Sep 16, 94 11:51:17 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409161604.AA04299@fubar.wang.com>
X-Mailer: ELM [version 2.4 PL23]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 1026

| The problem is most likely that wu-ftp doesn't know how to get the list of
| valid shells for AIX.  You can either create an /etc/shells file or you can
| ftp my patches that allows wu-ftpd to get the valid shells the ``AIX way''.
| 
| Another problem that you will run into on AIX is that all files will be
| owned by the same group as the daemon runs.  My patch also fixes this
| problem for AIX.  My patch is available at:
| 
| tigger.itc.virginia.edu:/pub/wu-ftpd.diffs.txt.gz
[ ... ]

	Isn't AIX wonderful?  And now there's AIX 4.1 which I understand is
	a real bomb (we still have it on order).

	I'm attempting to xfer them now, the net's slow today.

	Thanks for responding, I really appreciate it.  Do you know when the
	next release of wu-ftpd is due? I understand that the next release
	will be a major revamp.  Did you submit these diffs to the developers?

	There are also some miscellaneos patches around... we have a local
	one to popen.c for a security patch, but that's about it.

	Thanks again,

	Forrest

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 16 09:58:30 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlgcG-0003FKC; Fri, 16 Sep 94 09:58 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6G9JYEEO0001UX@wunet.wustl.edu>; Fri, 16 Sep 1994 11:47:43 -0500 (CDT)
Received: from punch.ic.ac.uk by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6G69XHDC0001UV@wunet.wustl.edu>; Fri, 16 Sep 1994 11:44:03 -0500 (CDT)
Received: from madfsag1.ma.ic.ac.uk by punch.ic.ac.uk with SMTP (PP)
 id <11420-0@punch.ic.ac.uk>; Fri, 16 Sep 1994 17:41:11 +0100
Received: from othello.cc.ic.ac.uk by madfsa.ma.ic.ac.uk (4.1/4.0)
 id AA11661; Fri, 16 Sep 94 17:37:29 BST
Date: Fri, 16 Sep 1994 17:41:33 +0100
From: p.kent@ic.ac.uk
Subject: [458] Re: [455] Compiling on AIX 3.2.5
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <25139.9409161641@othello.cc.ic.ac.uk>
Content-transfer-encoding: 7BIT

Check note 5 in the INSTALL file. You may need to create a /etc/shells
file, for example:

/bin/sh
/bin/ksh
/bin/csh
/dev/null


----------------------------------+------------------------
 Dr Phillip Kent                  | Email: p.kent@ic.ac.uk 
 Transitional Mathematics Project | 
 Mathematics Department           | Tel: +44 (0)71 59 48503 
 Imperial College                 | Fax: +44 (0)71 59 48517   
 180 Queen's Gate                 |   
 London SW7 2BZ                   | 
 United Kingdom.                  |
----------------------------------+------------------------

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 16 10:17:43 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlguo-0003M7C; Fri, 16 Sep 94 10:17 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6EF53STS0001TN@wunet.wustl.edu>; Fri, 16 Sep 1994 10:54:16 -0500 (CDT)
Received: from virginia.edu (uvaarpa.Virginia.EDU)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6EDIEZVK0001IW@wunet.wustl.edu>; Fri, 16 Sep 1994 10:53:46 -0500 (CDT)
Received: from tigger.itc.virginia.edu by uvaarpa.virginia.edu id aa02042; 16
 Sep 94 11:51 EDT
Received: (from wfp5p@localhost) by tigger.itc.Virginia.EDU (8.6.8/8.6.6)
 id LAA19656 for wu-ftpd@wunet.wustl.edu; Fri, 16 Sep 1994 11:51:17 -0400
Date: Fri, 16 Sep 1994 11:51:17 -0400 (EDT)
From: Bill Pemberton <wfp5p@tigger.itc.virginia.edu>
Subject: [456] Re: [455] Compiling on AIX 3.2.5
In-reply-to: <199409161533.AA04012@fubar.wang.com> from "Forrest Aldrich" at
 Sep 16, 94 11:33:35 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409161551.LAA19656@tigger.itc.Virginia.EDU>
MIME-version: 1.0
X-Mailer: ELM [version 2.4 PL24alpha5]
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 797

> 
> When I connect, regardless of the username specified, I get access
> denied.  Anyone know why this is happening and how to correct it?
> 

The problem is most likely that wu-ftp doesn't know how to get the list of
valid shells for AIX.  You can either create an /etc/shells file or you can
ftp my patches that allows wu-ftpd to get the valid shells the ``AIX way''.

Another problem that you will run into on AIX is that all files will be
owned by the same group as the daemon runs.  My patch also fixes this
problem for AIX.  My patch is available at:

tigger.itc.virginia.edu:/pub/wu-ftpd.diffs.txt.gz

-- 
Bill Pemberton                           wfp5p@virginia.edu
ITC/Unix Systems                         flash@virginia.edu
University of Virginia                   uunet!virginia!wfp5p

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 16 10:40:40 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlhH2-0003KnC; Fri, 16 Sep 94 10:40 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6HFU8KHS0001TD@wunet.wustl.edu>; Fri, 16 Sep 1994 12:21:42 -0500 (CDT)
Received: from gaea.nchgr.nih.gov by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6GOIG64W0001HP@wunet.wustl.edu>; Fri, 16 Sep 1994 11:58:47 -0500 (CDT)
Received: by gaea.nchgr.nih.gov (5.0/SMI-SVR4) id AA02072; Fri,
 16 Sep 1994 12:56:43 +0500
Date: Fri, 16 Sep 1994 12:56:43 +0500
From: hyeung@nchgr.nih.gov (Howard Yeung)
Subject: [459] Permission Problems with wuftp 2.4
To: wu-ftpd@wunet.wustl.edu
Cc: hyeung@nchgr.nih.gov
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: hyeung@nchgr.nih.gov, wu-ftpd@wunet.wustl.edu
Message-id: <9409161656.AA02072@gaea.nchgr.nih.gov>
Content-transfer-encoding: 7BIT
Content-length: 1194
X-Sun-Charset: US-ASCII

Hi Everyone,

I cannot put files into the directory I created.

-----problem capture------
ftp> mkdir test1
257 MKD command successful.
ftp> cd test1
250 CWD command successful.
ftp> put title
200 PORT command successful.
553 title: Permission denied. (Upload)
------end-----------------

When I login to the ftp server and do a 'ls -l' on
the directory I ftp to, I can see:

------ls -l------------
-rw-rw----   1 brailey  bbgroup      152 Sep 13 17:20 log.tmac
drwxrwxr-x   2 brailey  bbgroup      512 Sep 16 12:46 test1
-rw-rw----   1 bouffard bbgroup      172 Sep 16 12:31 title
-------end-------------

The directory I created is there.  However the owner of the 
directory is wrong because in ftpaccess file I specify every
file put there has its owner set to bouffard and group set to
bbgroup.

-----in ftpaccess------
upload  /opt/ftp /private/brailey  yes bouffard bbgroup 0660 dirs
--------end------------

Anyway, I just want to be able to put file into the directory
I created.  I receive the complain after a user cannot use Mac
fetch to put a whole folder into ftp server.


Thanks in advance.

Howard Yeung
Unix Admin, NCHGR/NIH
Tel: 	(301)-402-2536
Email: 	hyeung@nchgr.nih.gov

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 16 12:34:04 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qlj2o-0003InC; Fri, 16 Sep 94 12:34 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6L0CK61C0001UX@wunet.wustl.edu>; Fri, 16 Sep 1994 14:03:19 -0500 (CDT)
Received: from felix.arc.nasa.gov by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH6L06C6RK0001LO@wunet.wustl.edu>; Fri, 16 Sep 1994 14:02:43 -0500 (CDT)
Received: from localhost.arc.nasa.gov by felix.arc.nasa.gov (8.6.8/1.5T)
 id MAA11724; Fri, 16 Sep 1994 12:01:28 -0700
Date: Fri, 16 Sep 1994 12:01:27 -0700
From: Marcel Schlapfer <marcel@felix.arc.nasa.gov>
Subject: [460] Precompression of files
To: wu-ftpd@wunet.wustl.edu
Cc: marcel@felix.arc.nasa.gov
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: marcel@felix.arc.nasa.gov, wu-ftpd@wunet.wustl.edu
Message-id: <199409161901.MAA11724@felix.arc.nasa.gov>
X-Mailer: exmh version 1.4 6/24/94
Content-transfer-encoding: 7BIT


What do I need to add to the ftpaccess file to do precompression of files 
before transfering them?

Thanks in advance,
Marcel Schlapfer


From wu-ftpd-errors@wunet.wustl.edu Sat Sep 17 10:49:56 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qm3tV-0003NXC; Sat, 17 Sep 94 10:49 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH7W3LJY1S0003LP@wunet.wustl.edu>; Sat, 17 Sep 1994 12:31:34 -0500 (CDT)
Received: from nbn.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH7W3HA5SG0003LN@wunet.wustl.edu>; Sat, 17 Sep 1994 12:30:41 -0500 (CDT)
Received: (from zaphod@localhost) by miwok.nbn.com (8.6.9/8.6.9)
 id KAA01379 for wu-ftpd@wunet.wustl.edu; Sat, 17 Sep 1994 10:28:01 -0700
Date: Sat, 17 Sep 1994 10:27:59 -0700 (PDT)
From: Kris Zaphod Kahn <zaphod@nbn.com>
Subject: [461] building on SGI IRIX 5.2?
In-reply-to: <9409152250.AA15135@gdwest.gd.com> from "Mike McBride" at Sep 15,
 94 03:50:55 pm
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409171728.KAA01379@miwok.nbn.com>
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 1702


I am encountering all sorts of compile errors when building wu-ftpd-2.4 on an
SGI running IRIX 5.2 (this is the whole new release which is SVR4 compliant).

Of course the build help says that "build sgi" is for IRIX 4.0.5.  I've tried
the gamut of the build options without porting generic to this version.

But, before I do, I wanted to make sure that someone else hasn't already done
so.  Has anyone?  Can you point me to the patch(es)?

aTdHvAaNnKcSe

---------------------------- "build sgi" errors" ------------------------------
Making ftpd.
        cc -g -DDEBUG -I.. -I../support -L../support -c ftpd.c
cfe: Warning 581: /usr/include/stdarg.h:40: Macro va_start redefined.
cfe: Warning 581: /usr/include/stdarg.h:47: Macro _VA_ALIGN redefined.
cfe: Warning 581: /usr/include/stdarg.h:53: Macro __va_stack_arg redefined.
cfe: Warning 609: ftpd.c: 2021: The number of arguments in the macro invocation
does not match the definition
cfe: Error: ftpd.c, line 143: redeclaration of 'realpath'; previous declaration
at line 188 in file '/usr/include/stdlib.h'
  *realpath(char *pathname, char *result);
 --^
cfe: Error: ftpd.c, line 143: Incompatible type for the function parameter
  *realpath(char *pathname, char *result);
 -----------------^
cfe: Error: ftpd.c, line 2021: Syntax Error
     (ap = ((char *)& + sizeof())) ;
 ------------------------------^
*** Error code 1 (bu21)

--
 _____  _  _______ ____________ WHO: Kris Allan Kahn zaphod@netcom.com  _____
/__  / / \ |   \ |_| / __ \ __ \WHAT: UNIX Systems Programmer           \  __\
  / /_/ _ \| __/  _  \ \/ / |/ /WHERE: North Bay Network, Inc.	       __\ \
 /_____/ \_\_| |_| |_|\__/|___/ DISCLAIMER: Only from the horse's mouth\____\

From wu-ftpd-errors@wunet.wustl.edu Sat Sep 17 11:18:41 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qm4LO-0003EwC; Sat, 17 Sep 94 11:18 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HH7X1L16WW0003I9@wunet.wustl.edu>; Sat, 17 Sep 1994 12:58:53 -0500 (CDT)
Received: from sun1.biologie.uni-freiburg.de by wunet.wustl.edu
 (PMDF V4.3-8 #5689) id <01HH7WY85E680003FC@wunet.wustl.edu>; Sat,
 17 Sep 1994 12:55:29 -0500 (CDT)
Received: from deep-thought.biologie.uni-freiburg.de
 (deep-thought.biologie.uni-freiburg.de [132.230.36.58])
 by sun1.biologie.uni-freiburg.de (8.6.9/8.6.9) with SMTP id TAA09110 for
 <@sun1.biologie.uni-freiburg.de:wu-ftpd@wunet.wustl.edu>; Sat,
 17 Sep 1994 19:52:55 +0200
Received: by deep-thought.biologie.uni-freiburg.de (931110.SGI/920502.SGI.AUTO)
 for @sun1.biologie.uni-freiburg.de:wu-ftpd@wunet.wustl.edu id AA21466; Sat,
 17 Sep 94 19:55:54 +0200
Date: Sat, 17 Sep 1994 19:55:50 +0200 (MESZ)
From: mischa@deep-thought.biologie.uni-freiburg.de (Mischa Reinhardt)
Subject: [462] Re: [461] building on SGI IRIX 5.2?
In-reply-to: <199409171728.KAA01379@miwok.nbn.com> from "Kris Zaphod Kahn" at
 Sep 17, 94 10:27:59 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409171755.AA21466@deep-thought.biologie.uni-freiburg.de>
MIME-version: 1.0
X-Mailer: ELM [version 2.4 PL23]
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 996


>I am encountering all sorts of compile errors when building wu-ftpd-2.4 on an
>SGI running IRIX 5.2 (this is the whole new release which is SVR4 compliant).
>--
> _____  _  _______ ____________ WHO: Kris Allan Kahn zaphod@netcom.com  _____
>/__  / / \ |   \ |_| / __ \ __ \WHAT: UNIX Systems Programmer           \  __\
>  / /_/ _ \| __/  _  \ \/ / |/ /WHERE: North Bay Network, Inc.	       __\ \
> /_____/ \_\_| |_| |_|\__/|___/ DISCLAIMER: Only from the horse's mouth\____\
>


I have compiled wu-ftpd on IRIX-5.2.
If you like, you can get my binary.
I didn't remember exactly the changes I have done .. *sorry* 

Bye Mischa



-- 
+=====================================================================+
|   Mischa Reinhardt                     Institut f. Biologie II      |
|   tel.  0049-761/203/2831              AG Fukshansky                |
|          <mischa@deep-thought.biologie.uni-freiburg.de>             |
+---------------------------------------------------------------------+

From wu-ftpd-errors@wunet.wustl.edu Mon Sep 19 06:00:19 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qmiKO-0003NDC; Mon, 19 Sep 94 06:00 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHADVGWUE800044K@wunet.wustl.edu>; Mon, 19 Sep 1994 07:22:47 -0500 (CDT)
Received: from soapfish.navsea.navy.mil by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHADVBNFCG0003MR@wunet.wustl.edu>; Mon, 19 Sep 1994 07:21:55 -0500 (CDT)
Received: from fritz (fritz.navsea.navy.mil) by soapfish.navsea.navy.mil
 (5.65c/1.921207) id AA02890; Mon, 19 Sep 1994 08:16:47 -0400
Date: Mon, 19 Sep 1994 08:16:47 -0400
From: morgan_t@sparky.navsea.navy.mil (Thomas P. Morgan)
Subject: [463] Re: [454] Problems with wuftp 2.4
X-Sender: morgan_t@sparky.navsea.navy.mil
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409191216.AA02890@soapfish.navsea.navy.mil>
MIME-version: 1.0
X-Mailer: <PC Eudora Version 1.4>
Content-type: text/plain; charset="us-ascii"
Content-transfer-encoding: 7BIT

>
>
>I'm having a problem with permissions, and other related issues.
>I've installed wuftp 2.4 on sunos 4.1.3. 
>
>1) Anonymous ftp users can log into the ftp server just fine, but the real 
users
>   get permission denied. The user is not in the ftpusers file and the fpthosts
>   and ftpgroup files our empty.  Whats goin on?

I had the same problem.  After creating a /etc/shells file with the full path
of each usable shell, it worked.

My /etc/shell:

/usr/local/bin/bash
/bin/sh
/bin/csh

>
>Mike McBride
>mcbride@gdwest.gd.com
>
>
>
>
Thomas P. Morgan, Computer Aided Engineering Division |   ____|~~|______
Naval Sea Systems Command, Code 03R6                  |   \____________/
2531 Jefferson Davis Hwy, Arlington VA, 22242-5160    |^^^^^^^^^^^^^^^^^^^^
(703) 602-2151 Ext 208 cc:Mail: MORGAN_TOM at 05_02 CAD 2: morgan_t@soapfish

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 21 23:28:52 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qnheC-0003KRC; Wed, 21 Sep 94 23:28 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHE7M6CG2O0007OC@wunet.wustl.edu>; Thu, 22 Sep 1994 01:08:17 -0500 (CDT)
Received: from deputy.bldrdoc.gov by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHE7KOPAGW0009Q9@wunet.wustl.edu>; Thu, 22 Sep 1994 01:04:41 -0500 (CDT)
Received: by deputy.bldrdoc.gov (4.1/SMI-DDN) id AA03841; Thu,
 22 Sep 94 00:01:03 MDT
Date: Thu, 22 Sep 1994 00:01:03 -0600 (MDT)
From: coleman@boulder.nist.gov (Sean Coleman 497-5672 )
Subject: [464] Configuring guest directories in anonymous ftp
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409220601.AA03841@deputy.bldrdoc.gov>
Content-transfer-encoding: 7BIT

1. How do I configure wu-ftpd so my users can have special
subdirectories beneath the main anonymous ftp directory
where only certain select users are allowed read and write
access to the directory? Do I have to use the guestgroup command
and put users from other non-NIST sites in my password file or
can I configure the server so my users can manage their own space,
authorize access to users from outside of NIST and not have to
mess with the passwd file?

2. How does one generate an encrypted password to be put in the
ftpgroups file? Is there a program to do this? Do I need to write 
one?

3. Finally, using plain ftp client, how would a users execute 
a SITE GROUP and SITE GPASS command to be able to use the password
in the ftpgroups file? If the plain one doesn't work, what is 
recomended for a ftp client?

I am  here at the LISA conference so if a wu-ftpd guru is
also here in San Diego, maybe we can meet.

Thanks for the help

Sean Coleman
NIST
coleman@boulder.nist.gov

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 21 23:50:41 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qnhzK-0003KPC; Wed, 21 Sep 94 23:50 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHE8MB3FLC0008O6@wunet.wustl.edu>; Thu, 22 Sep 1994 01:36:08 -0500 (CDT)
Received: from snre.umich.edu (recycle.snre.umich.edu)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHE8M4HSF40008H1@wunet.wustl.edu>; Thu, 22 Sep 1994 01:34:04 -0500 (CDT)
Received: by snre.umich.edu (8.6.8.1/2.2) id CAA25996; Thu,
 22 Sep 1994 02:33:08 -0400
Date: Thu, 22 Sep 1994 02:33:08 -0400 (EDT)
From: Alex Tang <altitude@umich.edu>
Subject: [465] AFS'ized wu-ftpd
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: altitude@snre.umich.edu, wu-ftpd@wunet.wustl.edu
Message-id: <199409220633.CAA25996@snre.umich.edu>
MIME-version: 1.0
X-Mailer: ELM [version 2.4 PL23]
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 492

Hi folks.  I was wondering...Has anyone successfully modified wu-ftpd so
that it is "AFS'ized".  I stumbled across an afs'izd 2.1c from msu, but i
can't get it to build.

just wondering. 
..alex..
-- 
    Alex Tang      |     UM-SNRE   |       UM-ITD/US Consultant II
ALTITUDE@UMICH.EDU |     Student   |    UM-SNRE-NCEET: Systems Admin
  PGP via finger.  | Systems Admin |http://www.snre.umich.edu/users/altitude
This space for rent|Comp.Consut III| An eye for an eye leaves everyone blind.

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 22 12:55:20 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qnuEg-0003MwC; Thu, 22 Sep 94 12:55 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHEZUM89AO000AR0@wunet.wustl.edu>; Thu, 22 Sep 1994 14:35:06 -0500 (CDT)
Received: from gaea.nchgr.nih.gov by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHEZUJ0SA8000BOV@wunet.wustl.edu>; Thu, 22 Sep 1994 14:34:19 -0500 (CDT)
Received: by gaea.nchgr.nih.gov (5.0/SMI-SVR4) id AA09481; Thu,
 22 Sep 1994 15:32:53 +0500
Date: Thu, 22 Sep 1994 15:32:53 +0500
From: hyeung@nchgr.nih.gov (Howard Yeung)
Subject: [466] Problem uploading a whole directory
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: hyeung@nchgr.nih.gov, wu-ftpd@wunet.wustl.edu
Message-id: <9409221932.AA09481@gaea.nchgr.nih.gov>
Content-transfer-encoding: 7BIT
Content-length: 1324
X-Sun-Charset: US-ASCII


Hi Everyone,

I still have the same problem and it is not solved.  Sorry
to waste bandwidth one more time.
I cannot put files into the directory I created.

-----problem capture------
ftp> mkdir test1
257 MKD command successful.
ftp> cd test1
250 CWD command successful.
ftp> put title
200 PORT command successful.
553 title: Permission denied. (Upload)
------end-----------------

When I login to the ftp server and do a 'ls -l' on
the directory I ftp to, I can see:

------ls -l------------
-rw-rw----   1 brailey  bbgroup      152 Sep 13 17:20 log.tmac
drwxrwxr-x   2 brailey  bbgroup      512 Sep 16 12:46 test1
-rw-rw----   1 bouffard bbgroup      172 Sep 16 12:31 title
-------end-------------

The directory I created is there.  However the owner of the 
directory is wrong because in ftpaccess file I specify every
file put there has its owner set to bouffard and group set to
bbgroup.

-----in ftpaccess------
upload  /opt/ftp /private/brailey  yes bouffard bbgroup 0660 dirs
--------end------------

Anyway, I just want to be able to put file into the directory
I created.  I receive the complain after a user cannot use Mac
fetch to put a whole folder into ftp server.


Thanks in advance.

Howard Yeung
Unix Admin, NCHGR/NIH
Tel: 	(301)-402-2536
Email: 	hyeung@nchgr.nih.gov


----- End Included Message -----

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 22 13:47:28 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qnv37-0003L9C; Thu, 22 Sep 94 13:47 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHF1867PYO000D1V@wunet.wustl.edu>; Thu, 22 Sep 1994 15:14:27 -0500 (CDT)
Received: from mail.unigate1.unisys.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHF17ZVGDC000CR4@wunet.wustl.edu>; Thu, 22 Sep 1994 15:13:28 -0500 (CDT)
Received: from mvdns1.mv-oc.unisys.com ([192.59.253.100])
 by mail.unigate1.unisys.com (4.1/SMI-4.1-1.1) id AA04898; Thu,
 22 Sep 94 20:27:22 GMT
Received: from techsunsvr (techsunsvr.mv-oc.unisys.com)
 by mvdns1.mv-oc.unisys.com (4.1/SMI-4.1-1.8) id AA01572; Thu,
 22 Sep 94 20:12:59 GMT
Received: by techsunsvr (4.1/SMI-4.1) id AA26319; Thu, 22 Sep 94 13:13:40 PDT
Date: Thu, 22 Sep 1994 13:13:40 -0700 (PDT)
From: mbarry@MV-oc.Unisys.COM (Mike Barry)
Subject: [467] wu-ftpd and MS Windows Mosaic client
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409222013.AA26319@techsunsvr>
X-Mailer: XALT Mail [Version 1.1.k]
Content-transfer-encoding: 7BIT
Priority: C
X-Stamp-Id: 7

Currently we have a Web Server set up with anonymous FTP provided by
wu-ftpd.  The problem that we are seeing is that MS Windows Mosaic
clients that attempt to transfer files get the following error:

HTAccess: Error accessing "ftp://<server>/<file>": This server does not
support PASV mode

The same transfers work fine using the NCSA Mosaic Unix clients.  As
near as I can tell, wu-ftpd is supposed to support PASV mode.  Any quick
answers before I spend a lot of time looking into this?

Thanks in advance for any suggestions,

Mike
----
Mike Barry                  Phone:  (714)380-6223   Net2:   656-6223
Unisys Corporation          FAX:    (714)380-6663   Net2:   656-6663
25725 Jeronimo Road         e-mail: mbarry@mv-oc.unisys.com
Mission Viejo, CA  92691
M.S. 119

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 22 17:37:50 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qnye3-0003I0C; Thu, 22 Sep 94 17:37 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHF9LSPJJ4000C5W@wunet.wustl.edu>; Thu, 22 Sep 1994 19:14:09 -0500 (CDT)
Received: from venom.cs.wisc.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHF9LN5OB4000DCJ@wunet.wustl.edu>; Thu, 22 Sep 1994 19:13:30 -0500 (CDT)
Received: from localhost by venom.cs.wisc.edu; Thu, 22 Sep 94 19:12:37 -0500
Date: Thu, 22 Sep 1994 19:12:37 -0500
From: David Parter <dparter@cs.wisc.edu>
Subject: [468] Re: [465] AFS'ized wu-ftpd
In-reply-to: Your message of "Thu, 22 Sep 1994 02:33:08 EDT."
 <199409220633.CAA25996@snre.umich.edu>
To: altitude@snre.umich.edu, wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409230012.AA01439@venom.cs.wisc.edu>
Content-transfer-encoding: 7BIT


> Hi folks.  I was wondering...Has anyone successfully modified wu-ftpd so
> that it is "AFS'ized".  I stumbled across an afs'izd 2.1c from msu, but i
> can't get it to build.

> just wondering. 

I have a version, but it also uses kerberos 5...

	--david

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 22 22:59:18 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qo3f6-0003I5C; Thu, 22 Sep 94 22:59 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHFJJ15MBK000AMK@wunet.wustl.edu>; Thu, 22 Sep 1994 23:58:44 -0500 (CDT)
Received: from andrew.cmu.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHFJIXT21S000BTC@wunet.wustl.edu>; Thu, 22 Sep 1994 23:57:39 -0500 (CDT)
Received: (from postman@localhost) by andrew.cmu.edu (8.6.9/8.6.9)
 id AAA29634; Fri, 23 Sep 1994 00:56:49 -0400
Received: via switchmail; Fri, 23 Sep 1994 00:56:47 -0400 (EDT)
Received: from johnstown.andrew.cmu.edu via qmail ID
 </afs/andrew.cmu.edu/service/mailqs/testq0/QF.4iUZzuC00UoQM0NYFN>; Fri,
 23 Sep 1994 00:56:26 -0400 (EDT)
Received: from johnstown.andrew.cmu.edu via qmail ID
 </afs/andrew.cmu.edu/usr16/db74/.Outgoing/QF.8iUZzpO00UoQ8eXiVV>; Fri,
 23 Sep 1994 00:56:23 -0400 (EDT)
Received: from
 mms.4.60.Nov..4.1993.10.47.44.sun4c.411.EzMail.2.0.CUILIB.3.45.SNAP.NOT.LINKED.johnstown.andrew.cmu.edu.sun4c.411 via
 MS.5.6.johnstown.andrew.cmu.edu.sun4c_411; Fri,
 23 Sep 1994 00:56:21 -0400 (EDT)
Date: Fri, 23 Sep 1994 00:56:21 -0400 (EDT)
From: "Derrick J. Brashear" <db74+@andrew.cmu.edu>
Subject: [469] Re: [465] AFS'ized wu-ftpd
In-reply-to: <199409220633.CAA25996@snre.umich.edu>
To: altitude@snre.umich.edu, wu-ftpd@wunet.wustl.edu
Cc:
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: db74+@andrew.cmu.edu, wu-ftpd@wunet.wustl.edu
Message-id: <4iUZzpG00UoQMeXiMW@andrew.cmu.edu>
Content-transfer-encoding: 7BIT

Excerpts from internet.listserv.wu-ftpd: 22-Sep-94 [465] AFS'ized
wu-ftpd by Alex Tang@umich.edu 
> Hi folks.  I was wondering...Has anyone successfully modified wu-ftpd so
> that it is "AFS'ized".  I stumbled across an afs'izd 2.1c from msu, but i
> can't get it to build.
>  
> just wondering. 
> ..alex..
I'm working on a version which unifies several AFS-ized versions I've
seen. Mine's based on 2.4. However, it's currently on the back burner,
as it's for work, and other things are (currently) more pressing.


-D

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 23 07:14:13 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qoBO7-0003M7C; Fri, 23 Sep 94 07:14 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHG2DDFTN40007OE@wunet.wustl.edu>; Fri, 23 Sep 1994 08:57:41 -0500 (CDT)
Received: from snre.umich.edu (recycle.snre.umich.edu)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHG2D9AUZK000AP1@wunet.wustl.edu>; Fri, 23 Sep 1994 08:56:42 -0500 (CDT)
Received: by snre.umich.edu (8.6.8.1/2.2) id JAA08667; Fri,
 23 Sep 1994 09:55:48 -0400
Date: Fri, 23 Sep 1994 09:55:47 -0400 (EDT)
From: Alex Tang <altitude@umich.edu>
Subject: [470] Re: [469] Re: [465] AFS'ized wu-ftpd
In-reply-to: <4iUZzpG00UoQMeXiMW@andrew.cmu.edu> from "Derrick J. Brashear" at
 Sep 23, 94 00:56:21 am
To: db74+@andrew.cmu.edu, wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: altitude@snre.umich.edu, wu-ftpd@wunet.wustl.edu
Message-id: <199409231355.JAA08667@snre.umich.edu>
MIME-version: 1.0
X-Mailer: ELM [version 2.4 PL23]
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 695

On Fri Sep 23 00:56:21 1994: Derrick J. Brashear wrote...
> 
> I'm working on a version which unifies several AFS-ized versions I've
> seen. Mine's based on 2.4. However, it's currently on the back burner,
> as it's for work, and other things are (currently) more pressing.

Hi...Can i take a look at the code?  And perhaps you could tell me what it
does/doesn't/needs to do?  

Thanx a lot.
...alex...

    Alex Tang      |     UM-SNRE   |       UM-ITD/US Consultant II
ALTITUDE@UMICH.EDU |     Student   |    UM-SNRE-NCEET: Systems Admin
  PGP via finger.  | Systems Admin |http://www.snre.umich.edu/users/altitude
This space for rent|Comp.Consut III| An eye for an eye leaves everyone blind.

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 23 10:14:48 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qoECt-0003M3C; Fri, 23 Sep 94 10:14 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHG8P84VSW000AEZ@wunet.wustl.edu>; Fri, 23 Sep 1994 11:58:56 -0500 (CDT)
Received: from venom.cs.wisc.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHG8P1QQOW000ABD@wunet.wustl.edu>; Fri, 23 Sep 1994 11:58:01 -0500 (CDT)
Received: from localhost by venom.cs.wisc.edu; Fri, 23 Sep 94 11:57:12 -0500
Date: Fri, 23 Sep 1994 11:57:12 -0500
From: David Parter <dparter@cs.wisc.edu>
Subject: [471] Re: [470] Re: [469] Re: [465] AFS'ized wu-ftpd
In-reply-to: Your message of "Fri, 23 Sep 1994 09:55:47 EDT."
 <199409231355.JAA08667@snre.umich.edu>
To: altitude@snre.umich.edu, wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409231657.AA03062@venom.cs.wisc.edu>
Content-transfer-encoding: 7BIT

I will make it available early next week, when I return from the
LISA conference.

	--david

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 23 14:54:36 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from camco.celestial.com by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qoIZf-0003DQC; Fri, 23 Sep 94 14:54 PDT
Received: from wunet.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qoIbf-0001KsC; Fri, 23 Sep 94 14:56 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHGI4H7JLS0007OE@wunet.wustl.edu>; Fri, 23 Sep 1994 16:28:37 -0500 (CDT)
Received: from LILHRS.GSFC.NASA.GOV by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHGI4AQQ1S000EGG@wunet.wustl.edu>; Fri, 23 Sep 1994 16:27:40 -0500 (CDT)
Date: Fri, 23 Sep 1994 17:26:43 -0400 (EDT)
From: "The best things in life ... are fantasy." <HRSVENER@LILHRS.GSFC.NASA.GOV>
Subject: [472] Trouble with ftpcount.
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <940923172643.2540043b@LILHRS.GSFC.NASA.GOV>
Content-transfer-encoding: 7BIT

  
  Hi all!
  
  Well, wu-ftpd seemed to be running fine, til I started trying things.
  The command ftpcount doesn't seem to be working. Also, (and this is a
  pretty naive question), how can I tell if the daemon is actually
  using the ftpaccess file? How can I tell, in fact, *what* is going
  on, what processes are being called and if in.ftpd is indeed the
  correct one. According to man pages, ftpaccess is called with an option,
  but so is non-use of ftpaccess. Which is the default? 
  
  H'mm. I guess that's enough questions for now.
  
  Have a nice weekend everyone!
  
  Bye,

From wu-ftpd-errors@wunet.wustl.edu Mon Sep 26 12:13:30 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpLUO-0003MuC; Mon, 26 Sep 94 12:13 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHKK9DV4CW000FK9@wunet.wustl.edu>; Mon, 26 Sep 1994 14:12:54 -0500 (CDT)
Received: from LILHRS.GSFC.NASA.GOV by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHKK95Z4LC000ESO@wunet.wustl.edu>; Mon, 26 Sep 1994 14:12:03 -0500 (CDT)
Date: Mon, 26 Sep 1994 15:11:20 -0400 (EDT)
From: "The best things in life ... are fantasy." <HRSVENER@LILHRS.GSFC.NASA.GOV>
Subject: [473] guest accounts
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <940926151120.25400488@LILHRS.GSFC.NASA.GOV>
Content-transfer-encoding: 7BIT

Hello all,

I have (it appears) successfully installed wu-ftpd but (obviously) am still
having some difficulty. I am trying to set up limited access accounts. I 
entered the non-existant /bin/ftponly as the login shell and, of course, guest1
cannot login. However, guest1 also cannot ftp in either. I created the file,
/etc/shells (which didn't exist) with the entry /bin/ftponly. When I had 
created my anonymous ftp account, I ran an abbreviated MAKEDEV so that only
node zero was created for it. I am thinking I have to do the same for this
account as well? If anyone has any idea, please let me know.

Thanks in advance.

PCVS

From wu-ftpd-errors@wunet.wustl.edu Mon Sep 26 20:17:24 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpT2e-0003GnC; Mon, 26 Sep 94 20:17 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHKZYLJ6E8000DGQ@wunet.wustl.edu>; Mon, 26 Sep 1994 21:42:48 -0500 (CDT)
Received: from tech.singalab.com.sg by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHKZYAWL8W000GMM@wunet.wustl.edu>; Mon, 26 Sep 1994 21:42:15 -0500 (CDT)
Received: by tech.singalab.com.sg (AIX 3.2/UCB 5.64/4.03) id AA11084; Tue,
 27 Sep 1994 10:46:58 +0800
Date: Tue, 27 Sep 1994 10:46:58 +0800 (TAIST)
From: Teo Chin Tat <chintat@tech.singalab.com.sg>
Subject: [474] literally "real" user problem.
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <Pine.3.89.9409271010.A15688-0100000@tech.singalab.com.sg>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT


Hi,

I am new to wu-ftpd, just installed it a few days ago. The compilation 
and installation went on smoothly. But, when I found out I need a 
ftpaccess file, I just copied the one in the examples over to the 
/usr/local/etc directory. After that, the anonymous work just fine, but 
the real user just can't ftp into the system. For example, when any user 
beside "guest" and "annonymous" ftp into the system, the system will 
flash "access denied" after the username is entered.
I read the man pages regarding ftpaccess file, and it describes about 
creating class of users and the use of the keyword "real" for real user 
in the system. Below is the content of my ftpaccess file, can anyone tell 
me what is wrong with it, and possibly the solution to the problem.
Thanx for any help.

--------------------------------------------------------------------------
class   all   real,guest,anonymous *

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

readme  README*    login
readme  README*    cwd=*

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

compress        yes             local remote
tar             yes             local remote

log commands real
log transfers anonymous,real inbound,outbound

shutdown /etc/shutmsg

email user@hostname
-------------------------------------------------------------------------


+-------------------------------------------------------------------------+
| Email : chintat@singalab.com.sg      <--- this is where I work 8(       |
|         ba954@cleveland.freenet.edu  <--- this is my freenet account    |
+-------------------------------------------------------------------------+


From wu-ftpd-errors@wunet.wustl.edu Tue Sep 27 06:17:09 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpcP5-0003DoC; Tue, 27 Sep 94 06:17 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHLLL98GWW000GKM@wunet.wustl.edu>; Tue, 27 Sep 1994 08:02:15 -0500 (CDT)
Received: from chx400.switch.ch by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHLLL5J1OG000EEC@wunet.wustl.edu>; Tue, 27 Sep 1994 08:01:28 -0500 (CDT)
X400-Received: by mta chx400.switch.ch in /PRMD=Switch/ADMD=Arcom/C=Ch/;
 Relayed; Tue, 27 Sep 1994 14:00:37 +0100
X400-Received: by /PRMD=UBS/ADMD=ARCOM/C=CH/; Relayed; Tue,
 27 Sep 1994 14:59:32 +0100
Alternate-recipient: Allowed
Date: Tue, 27 Sep 1994 14:59:32 +0100
From: Giorgio.Scherl@zh004.ubs.ubs.ch
Subject: [475] can't start ftpd
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <"14771 Tue Sep 27 14:59:43 1994"@zh004.ubs.ubs.ch>
Content-identifier: can't start f...
Content-transfer-encoding: 7BIT
X400-Content-type: P2-1984 (2)
X400-MTS-identifier:
 [/PRMD=ubs/ADMD=arcom/C=ch/;svplatin.z.768:27.08.94.13.59.32]
X400-Originator: Giorgio.Scherl@zh004.ubs.ubs.ch
X400-Recipients: non-disclosure:;

Hello

I tried to start wu-ftpd2.4 on a Sun 4.1.3 with following command:

/etc=>  ftpd -l -d&

And got this error-messages:

wsrouter# Sep 27 13:46:14 wsrouter ftpd[202]: setsockopt (SO_OOBINLINE): Socket operation on non-socket

500 wsrouter FTP server shut down -- please try again later.

[1]    Done                 ftpd -l -d

I got the same error-messages when I start ftpd with inetd.conf. Bellow are my ftpaccess and inetd.conf files ...

inetd.conf.....

>> #
>> # Ftp and telnet are standard Internet services.
>> #
>> ftp   stream  tcp     nowait  root    /usr/local/etc/ftpd -d -l
>> telnet        stream  tcp     nowait  root    /usr/etc/in.telnetd     in.telnetd
>> #
>> # Tnamed serves the obolete IEN-116 name server protocol.
>> #
>> name  dgram   udp     wait    root    /usr/etc/in.tnamed      in.tnamed
>> #


ftpccess file...

>> class    all     real,anonymous  *
>>
>> limit all     5       Any     /etc/msgs/msg.toomany
>>
>> message       /welcome.msg    login
>> message       .message        cwd=*
>>
>> log   commands        real
>> log   transfers       real,anonymous  inbound,outbound
>>
>> shutdown /etc/shutmsg

Thanks in advance

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 27 09:56:34 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpfpN-0003DoC; Tue, 27 Sep 94 09:56 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHLTM2O7M8000GKM@wunet.wustl.edu>; Tue, 27 Sep 1994 11:51:41 -0500 (CDT)
Received: from julian.uwo.ca by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHLTLY7Q8G000HW8@wunet.wustl.edu>; Tue, 27 Sep 1994 11:51:10 -0500 (CDT)
Received: by julian.uwo.ca id AA27428; Tue, 27 Sep 94 12:50:34 -0400
Date: Tue, 27 Sep 1994 12:50:33 -0400 (EDT)
From: Moses Moore <jajmoore@julian.uwo.ca>
Subject: [476] HELP: gcc 2.4.5 and Solaris
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: jajmoore@julian.uwo.ca, wu-ftpd@wunet.wustl.edu
Message-id: <9409271650.AA27428@julian.uwo.ca>
X-Mailer: ELM [version 2.3 PL11]
Content-transfer-encoding: 7BIT

I'm installing wu-ftpd on my system (convincing my boss that it really
is a good idea), which is running Solaris 2.3.  I'm using gcc 2.4.5
to compile (hopefully fixed for the 2.3.3 problem), but the server
is still sending the "shut down" message before the banner is sent out.

The in.ftpd that comes with Solaris works fine, and ./ckconfig doesn't
complain, nor were there any complaints during "./build sol" and "build
install".
-- 
Moses Moore: net.surfer, neophyte sysadmin, publisher and storyteller.
 'finger jajmoore@csclub.uwaterloo.ca | grep <subject>' for Internet Services.
GCS(T) d- H+++ s:+ g- p0 !au a- w+ v++(-) C++$ UUS++++$   /#include <quote.h>    P+>++ L>+ !3 E--- N++ K++ W++(--) M- !V po* Y t+ 5- !j  /#define GIRLFRIEND     R(+) G+ tv b+ D++ B--- e+ u+(-) h-- f++ r++ n* y++     /#include<disclaim.h>
<a href="http://www.largnet.uwo.ca/">LARG*net homepage</a> is what I maintain.

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 27 10:53:23 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpgiP-0003AqC; Tue, 27 Sep 94 10:53 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHLV5QX968000IAI@wunet.wustl.edu>; Tue, 27 Sep 1994 12:35:56 -0500 (CDT)
Received: from julian.uwo.ca by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHLV0P5M6O000KEO@wunet.wustl.edu>; Tue, 27 Sep 1994 12:31:18 -0500 (CDT)
Received: by julian.uwo.ca id AA05641; Tue, 27 Sep 94 13:29:27 -0400
Date: Tue, 27 Sep 1994 13:29:26 -0400 (EDT)
From: Moses Moore <jajmoore@julian.uwo.ca>
Subject: [477] Re: [476] HELP: gcc 2.4.5 and Solaris
In-reply-to: <9409271650.AA27428@julian.uwo.ca> from "Moses Moore" at
 "Sep 27, 94 12:50 pm"
To: jajmoore@julian.uwo.ca, wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: jajmoore@julian.uwo.ca, wu-ftpd@wunet.wustl.edu
Message-id: <9409271729.AA05641@julian.uwo.ca>
X-Mailer: ELM [version 2.3 PL11]
Content-transfer-encoding: 7BIT

> The in.ftpd that comes with Solaris works fine, and ./ckconfig doesn't
> complain, nor were there any complaints during "./build sol" and "build
> install".

More information: now that I have gcc 2.5.8, the following error messages
pop up during support library creation:
---snip
In file included from authuser.c:7:
/usr/include/arpa/inet.h:46: warning: `struct in_addr' declared inside parameter list
/usr/include/arpa/inet.h:46: warning: its scope is only this definition or declaration,
/usr/include/arpa/inet.h:46: warning: which is probably not what you want.
/usr/include/arpa/inet.h:46: warning: parameter has incomplete type
/usr/include/arpa/inet.h:49: warning: parameter has incomplete type
/usr/include/arpa/inet.h:50: warning: parameter has incomplete type
---snip

-- 
Moses Moore: net.surfer, neophyte sysadmin, publisher and storyteller.
 'finger jajmoore@csclub.uwaterloo.ca | grep <subject>' for Internet Services.
GCS(T) d- H+++ s:+ g- p0 !au a- w+ v++(-) C++$ UUS++++$   /#include <quote.h>    P+>++ L>+ !3 E--- N++ K++ W++(--) M- !V po* Y t+ 5- !j  /#define GIRLFRIEND     R(+) G+ tv b+ D++ B--- e+ u+(-) h-- f++ r++ n* y++     /#include<disclaim.h>
<a href="http://www.largnet.uwo.ca/">LARG*net homepage</a> is what I maintain.

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 27 13:30:40 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpjAa-0003JdC; Tue, 27 Sep 94 13:30 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHM0HD9V8G000JJ5@wunet.wustl.edu>; Tue, 27 Sep 1994 15:08:16 -0500 (CDT)
Received: from science.amnh.org by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHM0H4YLOW000KIJ@wunet.wustl.edu>; Tue, 27 Sep 1994 15:07:20 -0500 (CDT)
Received: from lydia.amnh.org (lydia.amnh.org [198.116.4.4])
 by science.amnh.org (8.6.4/8.6.4.287) with SMTP id QAA04314 for
 <wu-ftpd@wunet.wustl.edu>; Tue, 27 Sep 1994 16:06:47 -0400
Received: by lydia.amnh.org (5.0/SMI-SVR4) id AA07238; Tue,
 27 Sep 1994 16:04:54 +0500
Date: Tue, 27 Sep 1994 16:04:51 -0400 (EDT)
From: tom@amnh.org (Thomas Wong-Interdepartmental Lab.)
Subject: [478] group access
To: wu-ftpd@wunet.wustl.edu (Wuftpd)
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Resent-reply-to: wu-ftpd@wunet.wustl.edu
Reply-to: tom@amnh.org
Message-id: <9409272004.AA07238@lydia.amnh.org>
Organization: American Museum of Natural History
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 422
Operating-System: Solaris 2.3

What does the following mean:
# allow use of private file for SITE GROUP and SITE GPASS?
private         yes


I'm trying to setup different groups for different classes of
anonymous users.  Any help? thanks.

-- 
Thomas Wong, Network Administrator		Email: tom@amnh.org
Interdepartmental Laboratories			Voice: (212) 769-5311
American Museum of Natural History
Central Park West at 79th Street, New York, NY 10024-5192, USA

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 27 14:03:50 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpjgd-0003I0C; Tue, 27 Sep 94 14:03 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHM27VDLE8000GKM@wunet.wustl.edu>; Tue, 27 Sep 1994 15:57:35 -0500 (CDT)
Received: from relay1.UU.NET by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHM1V2GE5S000FRN@wunet.wustl.edu>; Tue, 27 Sep 1994 15:47:35 -0500 (CDT)
Received: from csfcorp.com by relay1.UU.NET with SMTP id QQxjff20042; Tue,
 27 Sep 1994 16:46:48 -0400
Received: by csfcorp.com (4.1/SMI-4.1) id AA16210; Tue, 27 Sep 94 16:49:17 EDT
Date: Tue, 27 Sep 1994 16:49:17 -0400 (EDT)
From: ssl@csfcorp.com (Steven S. Levinn)
Subject: [479] help with SVR4.2
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409272049.AA16210@csfcorp.com>
Content-transfer-encoding: 7BIT

Has anyone built wu-2.4 for System V 4.2 (at&t's version)
for a 386/486.  I have it built but anonymous no longer works.
Real logins can get in and ftp, anonymous seems to login
but when I try any command (like "ls") I get:

425 Can't create data socket (0.0.0.0,65535): Bad file number

Also, nothing but actual file transfers (from a real login)
seemed to get logged.
I know I have something wrong with sockets (or something else???).
I appreciate any help - from a complied version to suggested changes in
the source to make it work.

Thanks,

Steve Levinn
csf Corporation
270 Davidson Avenue
Somerset, NJ 08873, USA
ssl@csfcorp.com
(908) 302-0222

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 27 17:36:21 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpn0M-0003LdC; Tue, 27 Sep 94 17:36 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHM94RP0HC000J2L@wunet.wustl.edu>; Tue, 27 Sep 1994 19:16:00 -0500 (CDT)
Received: from gdwest.gd.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHM94LO9MO000KYB@wunet.wustl.edu>; Tue, 27 Sep 1994 19:15:19 -0500 (CDT)
Received: by gdwest.gd.com (4.1/SMI-4.1) id AA06803; Tue, 27 Sep 94 17:15:06 PDT
Date: Tue, 27 Sep 1994 17:15:06 -0700 (PDT)
From: mcbride@gdwest.gd.com (Mike McBride)
Subject: [480] ftp question
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409280015.AA06803@gdwest.gd.com>
Content-transfer-encoding: 7BIT



When you log into my system (ftp ftp.domainname) the host name is displayed on the 
Connected output and also on the next line when you log in.
Example:

Connected to host.domainname
220 hostname FTP server (Version wu-2.4(1) Wed Sep 7 12:23:56 PDT 1994) ready.


How can I have the system display ftp.domainname when logging in? I see that ftp.uu.net 
does this. I have a cname of ftp.domainname for my host.

Thanks in advance,
		Mike McBride
		mcbride@gdwest.gd.com

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 27 19:33:19 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpopW-0003NDC; Tue, 27 Sep 94 19:33 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHMCZ3GLAO000J7J@wunet.wustl.edu>; Tue, 27 Sep 1994 21:06:09 -0500 (CDT)
Received: from snre.umich.edu (recycle.snre.umich.edu)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHMCYYADZ4000KVX@wunet.wustl.edu>; Tue, 27 Sep 1994 21:05:17 -0500 (CDT)
Received: by snre.umich.edu (8.6.8.1/2.2) id WAA12205; Tue,
 27 Sep 1994 22:04:45 -0400
Date: Tue, 27 Sep 1994 22:04:45 -0400 (EDT)
From: Alex Tang <altitude@umich.edu>
Subject: [482] Re: [480] ftp question
In-reply-to: <9409280015.AA06803@gdwest.gd.com> from "Mike McBride" at Sep 27,
 94 05:15:06 pm
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: altitude@snre.umich.edu, wu-ftpd@wunet.wustl.edu
Message-id: <199409280204.WAA12205@snre.umich.edu>
MIME-version: 1.0
X-Mailer: ELM [version 2.4 PL23]
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-length: 448

On Tue Sep 27 20:15:06 1994: Mike McBride wrote...

> How can I have the system display ftp.domainname when logging in? I
> see that ftp.uu.net does this. I have a cname of ftp.domainname for
> my host.

I'm not sure if this is the proper answer, but ftp.uu.net is the real DNS
name for that machine:

	% nslookup ftp.uu.net

	Name:    ftp.uu.net
	Address:  192.48.96.9

It's not just a cname.

There's probably a better answer though.

...alex...

From wu-ftpd-errors@wunet.wustl.edu Tue Sep 27 19:50:24 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpp63-0003MMC; Tue, 27 Sep 94 19:50 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHMCI6SM9S000J6I@wunet.wustl.edu>; Tue, 27 Sep 1994 20:52:33 -0500 (CDT)
Received: from campus.mor.itesm.mx (rs970.mor.itesm.mx)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHMCHVQRCW000J2X@wunet.wustl.edu>; Tue, 27 Sep 1994 20:51:39 -0500 (CDT)
Received: by campus.mor.itesm.mx (AIX 3.2/UCB 5.64/4.03) id AA41031; Tue,
 27 Sep 1994 19:50:46 -0600
Date: Tue, 27 Sep 1994 19:50:45 -0600
From: mr334679@campus.mor.itesm.mx
 (=?UNKNOWN?Q?C=82sar_A._C=A0zares_Cl=82ment?=)
Subject: [481] Telnet question
In-reply-to: ssl@csfcorp.com (Steven S. Levinn) "[479] help with SVR4.2" (Sep
 27,  4:49pm)
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409271950.ZM54597@rs970.mor.itesm.mx>
X-Mailer: Z-Mail (2.1.4 02apr93)
Content-transfer-encoding: 7BIT
References: <9409272049.AA16210@csfcorp.com>

Do you know a program that displays messages when a cd command is made in a telnet session ?
(some similar to the ftpd but for Telnet).

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 06:33:21 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qpz8I-0003NZC; Wed, 28 Sep 94 06:33 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN0FFWCV4000KSN@wunet.wustl.edu>; Wed, 28 Sep 1994 08:17:15 -0500 (CDT)
Received: from julian.uwo.ca by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN0A3Z0DC000J7Y@wunet.wustl.edu>; Wed, 28 Sep 1994 08:12:26 -0500 (CDT)
Received: by julian.uwo.ca id AA28161; Wed, 28 Sep 94 09:11:56 -0400
Date: Wed, 28 Sep 1994 09:11:55 -0400 (EDT)
From: Moses Moore <jajmoore@julian.uwo.ca>
Subject: [483] Re: [480] ftp question
In-reply-to: <9409280015.AA06803@gdwest.gd.com> from "Mike McBride" at
 "Sep 27, 94 5:15 pm"
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: jajmoore@julian.uwo.ca, wu-ftpd@wunet.wustl.edu
Message-id: <9409281311.AA28161@julian.uwo.ca>
X-Mailer: ELM [version 2.3 PL11]
Content-transfer-encoding: 7BIT

> How can I have the system display ftp.domainname when logging in? I see that ftp.uu.net 
> does this. I have a cname of ftp.domainname for my host.

Um, this is probably stating the obvious, but you could put a banner (as
defined in the ftpaccess(5) man page) that says something friendly and 
official like "Welcome to FTP.DOMAINNAME, anon-ftp server for NAME."

I wish I could tell you more, but as I mentioned on this mailing list
earlier, I still haven't gotten wu-ftpd to work.

-- 
Moses Moore: net.surfer, neophyte sysadmin, publisher and storyteller.
 'finger jajmoore@csclub.uwaterloo.ca | grep <subject>' for Internet Services.
GCS(T) d- H+++ s:+ g- p0 !au a- w+ v++(-) C++$ UUS++++$   /#include <quote.h>    P+>++ L>+ !3 E--- N++ K++ W++(--) M- !V po* Y t+ 5- !j  /#define GIRLFRIEND     R(+) G+ tv b+ D++ B--- e+ u+(-) h-- f++ r++ n* y++     /#include<disclaim.h>
<a href="http://www.largnet.uwo.ca/">LARG*net homepage</a> is what I maintain.

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 07:36:45 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qq07e-0003NTC; Wed, 28 Sep 94 07:36 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN244Z0HC000IX5@wunet.wustl.edu>; Wed, 28 Sep 1994 09:12:16 -0500 (CDT)
Received: from CUNYVM.CUNY.EDU (MAILER@CUNYVMV2)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN23UZ75S000IX5@wunet.wustl.edu>; Wed, 28 Sep 1994 09:04:41 -0500 (CDT)
Received: from CUNYVM (NJE origin SMTP3@CUNYVM)
 by CUNYVM.CUNY.EDU (LMail V1.2a/1.8a) with BSMTP id 9905; Wed,
 28 Sep 1994 09:38:08 -0400
Received: from uucp0.iij.ad.jp by CUNYVM.CUNY.EDU (IBM VM SMTP V2R2)
 with TCP; Wed, 28 Sep 94 09:38:05 EDT
Received: from cc.win.or.jp (cc.win.or.jp [202.26.0.16])
 by uucp0.iij.ad.jp (8.6.9+2.4Wb/3.3Wb-UUCP) with ESMTP id WAA29273 for
 <wu-ftpd@WUNET.BITNET>; Wed, 28 Sep 1994 22:37:40 +0900
Received: from localhost by cc.win.or.jp (8.6.4+2.2W/6.4JAIN-WIN3.2-WIDE)
 id WAA06234; Wed, 28 Sep 1994 22:38:00 +0900
Date: Wed, 28 Sep 1994 22:38:00 +0900
From: KITANO Isao <kitano@cc.win.or.jp>
Subject: [485] How can I set search command?
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Resent-reply-to: wu-ftpd@wunet.wustl.edu
Reply-to: kitano@win.or.jp
Message-id: <199409281338.WAA06234@cc.win.or.jp>
Content-transfer-encoding: 7BIT

Hello, wu-ftpd gurus.
 
I'm new to maintain anonymous ftp local site.
How can I implement search command like "site index pattern" in wu-ftpd?
 
Thanks in advance,
--kitano

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 08:39:16 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qq169-0003MvC; Wed, 28 Sep 94 08:39 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN244Z0HC000IX5@wunet.wustl.edu>; Wed, 28 Sep 1994 09:06:45 -0500 (CDT)
Received: from kth.se by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN22A3RLS000LFP@wunet.wustl.edu>; Wed, 28 Sep 1994 09:03:25 -0500 (CDT)
Received: from mimas.cadcam.kth.se (mimas.cadcam.kth.se [130.237.56.168])
 by kth.se (8.6.7/8.6.9) with SMTP id PAA16531 for <wu-ftpd@wunet.wustl.edu>;
 Wed, 28 Sep 1994 15:02:53 +0100
Received: from eros.cadcam.kth.se by mimas.cadcam.kth.se (5.65/6.0)
 id AA20166; Wed, 28 Sep 1994 15:02:17 +0100
Date: Wed, 28 Sep 1994 15:02:52 +0100
From: mb@cadcam.kth.se
Subject: [484] Using yp with wuftpd
X-Sender: mb@mimas.cadcam.kth.se
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409281402.AA20166@mimas.cadcam.kth.se>
MIME-version: 1.0
Content-type: text/plain; charset="Mac->se"
Content-transfer-encoding: quoted-printable

Hallo there !


I have been trying to set up the wuftpd on our Ultrix-system. It all works
well, except that i would
like to use my users defined in yp (yellow pages). Now it seems to me that
i have to put all users
in /etc/passwd. Any hints how fix this ? Is it possible ?


Regards

Mikael Bohlin
System Administrator

Mikael Bohlin, IVF-KTH Manufacturing Systems
 Brinellv{gen 81, 100 44 STOCKHOLM, SWEDEN
Tel: +046-8-203953. Fax: +046-8-20 22 27
email:mb@cadcam.kth.se


From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 09:37:30 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qq20Q-0003IZC; Wed, 28 Sep 94 09:37 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN6AE1GOG000JSR@wunet.wustl.edu>; Wed, 28 Sep 1994 11:05:02 -0500 (CDT)
Received: from mailhost.unibol.com (alpha.bfs.unibol.com)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN58GWG3K000I0O@wunet.wustl.edu>; Wed, 28 Sep 1994 10:34:55 -0500 (CDT)
Received: (from ianm@localhost) by mailhost.unibol.com (8.6.9/gi0pez.i1.2)
 id PAA04711 for wu-ftpd@wunet.wustl.edu; Wed, 28 Sep 1994 15:14:05 GMT
Date: Wed, 28 Sep 1994 16:14:05 +0100 (BST)
From: Ian Moran <ianm@bfs.Unibol.COM>
Subject: [487] passwd-check
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409281514.PAA04711@mailhost.unibol.com>
X-Mailer: ELM [version 2.4 PL23]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 386

I have the following line in ftpaccess

passwd-check rfc822 enforce

Users can log in using names of the form ianm@ which suggests the trivial
option is being taken instead.

This is wu-ftpd2.4 on Dec Alpha OSF1 V2.0

-- 


   Ian

  Internet:  (ianm@bfs.unibol.com)  Fidonet:   (2:443/510)  CIS: (73064,726)
  UNIBOL Ltd, Belfast      PHONE: +44 1232 833422       FAX: +44 1232 837707

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 09:48:44 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qq2BN-0003NDC; Wed, 28 Sep 94 09:48 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN4QHNBFK000KWX@wunet.wustl.edu>; Wed, 28 Sep 1994 10:21:08 -0500 (CDT)
Received: from medcom.se (193.44.15.20) by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN45S01EO000G6I@wunet.wustl.edu>; Wed, 28 Sep 1994 10:03:32 -0500 (CDT)
Received: (from neil@localhost) by medcom.se (8.6.9/8.6.6)
 id QAA14425 for wu-ftpd@wunet.wustl.edu; Wed, 28 Sep 1994 16:04:39 +0100
Date: Wed, 28 Sep 1994 16:04:39 +0100
From: Neil Costigan <neil@medcom.se>
Apparently-to: wu-ftpd@wunet.wustl.edu
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Warnings-to: [486]
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409281504.QAA14425@medcom.se>
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 349

re ftp.domainname


try putting an alias in you DNS name server for the machine
that runs the wu-ftp
 
for example guiness.dublin.ie is aliased to ftp.dublin.ie
can't remember the exact syntax offhand (i'm not on site9
 
if you want this (it woeks for me) email me direct
and i'll get back to you when i'm 'home'
 
neil costigan
 
neil@medcom.se
 


From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 10:14:44 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qq2aX-00037yC; Wed, 28 Sep 94 10:14 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN6AE1GOG000JSR@wunet.wustl.edu>; Wed, 28 Sep 1994 11:11:04 -0500 (CDT)
Received: from gso.SAIC.COM (gefion.gso.saic.com)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN5WVKRLS000KSS@wunet.wustl.edu>; Wed, 28 Sep 1994 10:54:23 -0500 (CDT)
Received: from mode.gso.saic.com by gso.SAIC.COM (4.1/SMI-4.1) id AA01559; Wed,
 28 Sep 94 08:14:56 PDT
Received: by mode.gso.saic.com (5.0/SMI-SVR4) id AA05557; Wed,
 28 Sep 1994 08:14:49 -0700
Date: Wed, 28 Sep 1994 08:14:49 -0700
From: eakin@gso.SAIC.COM (Chris Eakin)
Subject: [488] Re: [479] help with SVR4.2
To: wu-ftpd@wunet.wustl.edu, ssl@csfcorp.com
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409281514.AA05557@mode.gso.saic.com>
Content-transfer-encoding: 7BIT
Content-length: 733
X-Sun-Charset: US-ASCII


On Sept, 27, Steve asked:

> Has anyone built wu-2.4 for System V 4.2 (at&t's version)
> for a 386/486.  I have it built but anonymous no longer works.
> Real logins can get in and ftp, anonymous seems to login
> but when I try any command (like "ls") I get:

> 425 Can't create data socket (0.0.0.0,65535): Bad file number


While I compiled and run wu-ftpd on solaris 2.3, I had the exact same error.  What I did to cure this error was create ~ftp/dev/zero and ~ftp/dev/tcp .  Now everything works great!

(These files are tricky to create, and you may need to look up what the parameters need to be set to.)

I hope this helps!

Chris Eakin
Asst. Sys. Admin.
SAIC
10260 Campus Point Drive
San Diego, CA. 92121
eakin@gso.saic.com

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 10:53:00 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qq3BZ-0003CTC; Wed, 28 Sep 94 10:52 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN8WV1P28000HBF@wunet.wustl.edu>; Wed, 28 Sep 1994 12:26:17 -0500 (CDT)
Received: from julian.uwo.ca by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHN8QAKBKW000J75@wunet.wustl.edu>; Wed, 28 Sep 1994 12:14:33 -0500 (CDT)
Received: by julian.uwo.ca id AA17575; Wed, 28 Sep 94 13:14:04 -0400
Date: Wed, 28 Sep 1994 13:14:03 -0400 (EDT)
From: Moses Moore <jajmoore@julian.uwo.ca>
Subject: [489] Re: building wuftpd for Solaris
In-reply-to: <9409281514.AA05557@mode.gso.saic.com> from "Chris Eakin" at
 "Sep 28, 94 8:14 am"
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: jajmoore@julian.uwo.ca, wu-ftpd@wunet.wustl.edu
Message-id: <9409281714.AA17575@julian.uwo.ca>
X-Mailer: ELM [version 2.3 PL11]
Content-transfer-encoding: 7BIT

Aha!  Someone who admits to building wuftpd for Solaris! :)

Can you help me with the problem I posted to the mailing list a few days ago?
I may need to get different include/arpa files by the looks of it...

(quoted message follows)
> The in.ftpd that comes with Solaris [2.3] works fine, and ./ckconfig doesn't
> complain, nor were there any complaints during "./build sol" and "build
> install".

More information: now that I have gcc 2.5.8, the following error messages
pop up during support library creation:
---snip
In file included from authuser.c:7:
/usr/include/arpa/inet.h:46: warning: `struct in_addr' declared inside parameter
 list
/usr/include/arpa/inet.h:46: warning: its scope is only this definition or decla
ration,
/usr/include/arpa/inet.h:46: warning: which is probably not what you want.
/usr/include/arpa/inet.h:46: warning: parameter has incomplete type
/usr/include/arpa/inet.h:49: warning: parameter has incomplete type
/usr/include/arpa/inet.h:50: warning: parameter has incomplete type
---snip

-- 
Moses Moore: Web maintainer for LARG*net, SysAdmin for johns.largnet.uwo.ca
Here is a link to the <a href="http://www.largnet.uwo.ca/">homepage</a>.
#include <disclaim.h>; #include <witty_quote.h>; #define GIRLFRIEND "Lou"

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 15:01:55 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qq74P-0003E4C; Wed, 28 Sep 94 15:01 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHNIM1Q3QO000KOX@wunet.wustl.edu>; Wed, 28 Sep 1994 16:58:12 -0500 (CDT)
Received: from rlb6000.scs.uiuc.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHNILXG1TS000KLB@wunet.wustl.edu>; Wed, 28 Sep 1994 16:57:22 -0500 (CDT)
Received: by rlb6000.scs.uiuc.edu (AIX 3.2/UCB 5.64/4.03) id AA18209; Wed,
 28 Sep 1994 16:57:03 -0500
Date: Wed, 28 Sep 1994 16:57:03 -0500 (CDT)
From: jwcj@rlb6000.scs.uiuc.edu (John Chen)
Subject: [490] wu-ftpd on aix 3.2.5
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409282157.AA18209@rlb6000.scs.uiuc.edu>
X-Mailer: ELM [version 2.4 PL24alpha3]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 319

Hi,

It seems like I've successfully installed wu-ftpd 2.4 on our r/s6000 aix
3.2.5.  Anonymous logins worked great, but unfortunately no real user
can log in!  None of the users on listed in ftpusers and ftpaccess does
define real.  Please help.  Thanks in advance.
-- 
John Chen
jwcj@rlb6000.scs.uiuc.edu
Be happier.

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 16:24:00 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qq8Lt-0003I6C; Wed, 28 Sep 94 16:23 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHNL56WBC0000LE4@wunet.wustl.edu>; Wed, 28 Sep 1994 18:10:38 -0500 (CDT)
Received: from nz11.rz.uni-karlsruhe.de by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHNL4YMXB4000M6J@wunet.wustl.edu>; Wed, 28 Sep 1994 18:10:02 -0500 (CDT)
Received: from mcbdk.rz.uni-karlsruhe.de by nz11.rz.uni-karlsruhe.de with SMTP
 (PP); Thu, 29 Sep 1994 00:08:53 +0100
Received: by mcbdk.rz.uni-karlsruhe.de (AIX 3.2/UCB 5.64/4.03) id AA16794; Thu,
 29 Sep 1994 00:08:51 +0100
Date: Thu, 29 Sep 1994 00:08:50 +0100 (MEZ)
From: dieter@mcbdk.rz.uni-karlsruhe.de
Subject: [491] Re: [490] wu-ftpd on aix 3.2.5
In-reply-to: <9409282157.AA18209@rlb6000.scs.uiuc.edu> from "John Chen" at Sep
 28, 94 04:57:03 pm
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409282308.AA16794@mcbdk.rz.uni-karlsruhe.de>
X-Mailer: ELM [version 2.4 PL21]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 408

You'll have to create a '/etc/shells' file like that:
-------------------< cut >---------------------<snip>------------
/bin/sh
/bin/bsh
/bin/csh
/bin/ksh
/bin/tsh
/usr/bin/sh
/usr/bin/bsh
/usr/bin/csh
/usr/bin/ksh
/usr/bin/tsh
/usr/mbin/sh
/usr/mbin/bsh
/usr/mbin/csh
/usr/mbin/ksh
/usr/mbin/tsh
/usr/local/bin/bash
/usr/local/bin/tcsh
------------------------------------------

Hope this helps
    Dieter

From wu-ftpd-errors@wunet.wustl.edu Wed Sep 28 18:11:00 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqA1S-0003INC; Wed, 28 Sep 94 18:10 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHNNR4FXVK000FBG@wunet.wustl.edu>; Wed, 28 Sep 1994 19:26:03 -0500 (CDT)
Received: from rlb6000.scs.uiuc.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHNNQY5TG0000KS3@wunet.wustl.edu>; Wed, 28 Sep 1994 19:25:00 -0500 (CDT)
Received: by rlb6000.scs.uiuc.edu (AIX 3.2/UCB 5.64/4.03) id AA19153; Wed,
 28 Sep 1994 19:24:38 -0500
Date: Wed, 28 Sep 1994 19:24:38 -0500 (CDT)
From: jwcj@rlb6000.scs.uiuc.edu (John Chen)
Subject: [492] dir doesn't work..
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409290024.AA19153@rlb6000.scs.uiuc.edu>
X-Mailer: ELM [version 2.4 PL24alpha3]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 552

Hi,

Thanks to all who emailed me a solution to the "real user not able to log
in" problem.  Now anonymous logins work!  

However, I seem to have another problem now--after I log in as
anonymous I type dir and I'd get nothing, but when I log in as a real
user I get the ls -lgA type listing when I type dir.  'ls' works fine by
itself, and lists the directory.  I have put a 'ls' in ~ftp/bin, and
made it 111.  What might be wrong?  This is on a r/s6000 aix 3.2.5.
Thanks much again for your help.

-- 
John Chen
jwcj@rlb6000.scs.uiuc.edu
Be happier.

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 29 01:44:23 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqH6D-0003KKC; Thu, 29 Sep 94 01:44 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHO41455Y8000IB2@wunet.wustl.edu>; Thu, 29 Sep 1994 03:12:00 -0500 (CDT)
Received: from rlb6000.scs.uiuc.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHO0QZ0C0W000L9V@wunet.wustl.edu>; Thu, 29 Sep 1994 01:36:50 -0500 (CDT)
Received: by rlb6000.scs.uiuc.edu (AIX 3.2/UCB 5.64/4.03) id AA10651; Thu,
 29 Sep 1994 01:36:30 -0500
Date: Thu, 29 Sep 1994 01:36:30 -0500 (CDT)
From: jwcj@rlb6000.scs.uiuc.edu (John Chen)
Subject: [493] now ls doesn't work :(
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409290636.AA10651@rlb6000.scs.uiuc.edu>
X-Mailer: ELM [version 2.4 PL24alpha3]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 248

Hi,

For some reason ls now doesn't give a listing either, and I did not make
any modification except to put the GNU tar in ~ftp/bin!  So right now
neither ls nor dir work!  Please help!  Thanks.
-- 
John Chen
jwcj@rlb6000.scs.uiuc.edu
Be happier.

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 29 02:24:40 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqHjC-0003HVC; Thu, 29 Sep 94 02:24 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHO41455Y8000IB2@wunet.wustl.edu>; Thu, 29 Sep 1994 03:25:28 -0500 (CDT)
Received: from rlb6000.scs.uiuc.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHO288NCCG000KIL@wunet.wustl.edu>; Thu, 29 Sep 1994 02:19:00 -0500 (CDT)
Received: by rlb6000.scs.uiuc.edu (AIX 3.2/UCB 5.64/4.03) id AA10883; Thu,
 29 Sep 1994 02:18:39 -0500
Date: Thu, 29 Sep 1994 02:18:39 -0500 (CDT)
From: jwcj@rlb6000.scs.uiuc.edu (John Chen)
Subject: [494] solved!  thanks
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409290718.AA10883@rlb6000.scs.uiuc.edu>
X-Mailer: ELM [version 2.4 PL24alpha3]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 251

Hi,

Sorry for the previous two posts.  It turned out that a lib directory
containing some libraries and an etc/nls directory have to exist which I
deleted earlier, thinking I did not need them.  :(
-- 
John Chen
jwcj@rlb6000.scs.uiuc.edu
Be happier.

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 29 03:49:54 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqJ3h-0003MYC; Thu, 29 Sep 94 03:49 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHO7U1X6WW000F8T@wunet.wustl.edu>; Thu, 29 Sep 1994 05:02:21 -0500 (CDT)
Received: from faw.uni-ulm.de by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHO7TS2QHS000OTS@wunet.wustl.edu>; Thu, 29 Sep 1994 04:59:58 -0500 (CDT)
Received: from sun15.faw.uni-ulm.de by faw.uni-ulm.de (AIX 3.2/UCB 5.64/4.03)
 id AA08900; Thu, 29 Sep 1994 10:58:21 +0100
Date: Thu, 29 Sep 1994 10:58:20 +0100
From: wpeinel@faw.uni-ulm.de
Subject: [495] Re:  [493] now ls doesn't work :(
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409290958.AA25330@faw.uni-ulm.de>
Content-transfer-encoding: 7BIT

> 
> Hi,
> 
> For some reason ls now doesn't give a listing either, and I did not make
> any modification except to put the GNU tar in ~ftp/bin!  So right now
> neither ls nor dir work!  Please help!  Thanks.
> -- 
> John Chen
> jwcj@rlb6000.scs.uiuc.edu
> Be happier.
> 
I couldn't explain this, may you look on my anon AIX 3.2.4+ ftp-server address
faw.uni-ulm.de as an example. (/dev and /usr/lpp is not necessary, I think)

Have you turn on the debug option and if yes what write the ftpd in the syslog
file? Have you set the right permissions on the ~ftp/bin && ~/ftp/bin/* &&
~ftp/lib && ~/ftp/lib/* && ~/ftp files/dirs?

Wolfgang

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 29 09:07:26 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqO0w-0003GuC; Thu, 29 Sep 94 09:07 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHOJS6EK00000NCT@wunet.wustl.edu>; Thu, 29 Sep 1994 10:43:16 -0500 (CDT)
Received: from faw.uni-ulm.de by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHOJN5KOA8000LVJ@wunet.wustl.edu>; Thu, 29 Sep 1994 10:38:48 -0500 (CDT)
Received: from sun15.faw.uni-ulm.de by faw.uni-ulm.de (AIX 3.2/UCB 5.64/4.03)
 id AA21897; Thu, 29 Sep 1994 16:36:30 +0100
Date: Thu, 29 Sep 1994 16:36:29 +0100
From: wpeinel@faw.uni-ulm.de
Subject: [496] changes for wu-ftpd-2.4
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409291536.AA25748@faw.uni-ulm.de>
Content-transfer-encoding: 7BIT

Hi folks,

following changes I had make in my downloaded wu-ftpd-2.4.

Fixes or add on:

 o check execute permission in ftpd_popen() for better performance/errorhandling
 o added optional dirmode permissions for upload
 o change home directory to / if chrooted anonymous ftp
 o if /path1/./path2 syntax in guestgroup - change home directory to /path2
 
Comments or corrections are welcome. 

Note: It's not recommendable to make this changes w/o to know what you do. ;-)

Wolfgang Peinel
wpeinel@faw.uni-ulm.de

***************************** popen.c *****************************************
.
.
.
>#include <sys/errno.h>
.
.
.

in ftpd_popen()
	.
	.
	.
 	for (argc = 0, cp = program;; cp = NULL)
>		/* let's hope nobody use direct or indirect ftpd_popen() in a 
>	   	   strtok() loop in the calling functions */
		if (!(argv[argc++] = strtok(cp, " \t\n")))
            break;

>	if (argv[0] == NULL || access(argv[0], X_OK) != 0)
>	{   errno = EACCES;
>           return NULL;
>       }
	.
	.
	.

****************************** ftpd.c *****************************************
in function makedir()
    .
>   int d_mode;
    .
    .

    /*
     * check the directory, can we mkdir here?
     */
!   if ( (dir_check(name, &uid, &gid, &d_mode, &valid)) <= 0 )
	return;

     /*
     * check the filename, is it legal?
     */
    if ( (fn_check(name)) <= 0 )
        return;

> #ifdef UPLOAD
>     if (d_mode >= 0)
>     {   mode_t oldmask = umask(0);
>         if (mkdir(name, d_mode) < 0) {
>             umask(oldmask);
>             perror_reply(550, name);
>             return;
>         }
>         umask(oldmask);
>         if (valid > 0)
>         {   uid_t olduid = getuid();
>             (void)seteuid((uid_t) 0);
>             if (chown(name, uid, gid) != 0)
>             {   (void)seteuid(olduid);
>                 perror_reply(550, "chown");
>                 return;
>             }
>             (void)seteuid(olduid);
>         }
>     }
>     else
> #endif
    if (mkdir(name, 0777) < 0) {
        perror_reply(550, name);
        return;
    }

    .
    .
    .
------------------------------------------------------------------------------
in function pass()
    .
    .
    .
    if (anonymous || guest) {
> #ifdef AIX
>       /* setegid() don't work on my AIX Machine, why? */
>       (void)setgid(pw->pw_gid);
> #endif
        /* We MUST do a chdir() after the chroot. Otherwise the old current
         * directory will be accessible as "." outside the new root! */
	 if (anonymous) {
            if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
                reply(550, "Can't set guest privileges.");
                goto bad;
            }
>	    pw->pw_dir = "/";
	 } else if (guest) {
            char *sp;

            /* determine root and home directory */

            if ((sp = strstr(pw->pw_dir, "/./")) == NULL) {
                if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
                    reply(550, "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;
                }
>		/* work on all unix platforms w/o const array! */
>               pw->pw_dir = sp;
            }
        }
    .
    .
    .
-------------------------------------------------------------------------------
in removedir()
    .
    .
    .
!   if ( (dir_check(name, &c, &d, (int*)0, &valid)) <= 0 )
        return;
    .
    .
    .
------------------------------------------------------------------------------
in statfilecmd()
    .
    .
    .
    (void) sprintf(line, ls_short, filename);
!   if ((fin = ftpd_popen(line, "r", 0)) == NULL)
>   {   perror_reply(551, filename);
>       return;
>   }
    lreply(211, "status of %s:", filename);
    .
    .
    .
******************************* extensions.c **********************************
in dir_check()

int
!dir_check(char *name, uid_t *uid, gid_t *gid, int *d_mode, int *valid)
{
    .
    .
    .
	*ap4 = NULL,
>       *ap5 = NULL,
        *ap6 = NULL;
    .
    .
    .
	if (ARG4)  ap4 = ARG4;
        else       ap4 = NULL;
>       if (ARG5)  ap5 = ARG5;
>       else       ap5 = NULL;
        if (ARG6)  ap6 = ARG6;
        else       ap6 = NULL;
    .
    .
    .
    if (ap4) {
     *gid = atoi(ap4);    /* the gid  */
     *valid = 1;
    }
>   if (ap5 && d_mode != (int*)0)
>   {   *d_mode = -1;
> 	/* optional syntax: upload ... filemode/dirmode ... */
>       sscanf(ap5,"%*o/%o", d_mode);
>   }
    .
    .
    .
*******************************************************************************

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 29 09:58:44 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqOoc-0003OZC; Thu, 29 Sep 94 09:58 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHOLW7VPYO000FM4@wunet.wustl.edu>; Thu, 29 Sep 1994 11:43:33 -0500 (CDT)
Received: from visionware.com (SIOUX.VISIONWARE.COM)
 by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHOLTNI1TC000KRG@wunet.wustl.edu>; Thu, 29 Sep 1994 11:40:42 -0500 (CDT)
Received: by visionware.com (4.1/SMI-4.1) id AA11066; Thu,
 29 Sep 94 09:40:10 PDT
Date: Thu, 29 Sep 1994 09:40:10 -0700 (PDT)
From: pats@visionware.com (Patrick Salsbury)
Subject: [497] Re: [481] Telnet question
In-reply-to: <9409271950.ZM54597@rs970.mor.itesm.mx>
 (mr334679@campus.mor.itesm.mx)
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409291640.AA11066@visionware.com>
Content-transfer-encoding: 7BIT

-Errors-To: wu-ftpd-errors@wunet.wustl.edu
-Date: Tue, 27 Sep 1994 19:50:45 -0600
-From: mr334679@campus.mor.itesm.mx
- (=?UNKNOWN?Q?C=82sar_A._C=A0zares_Cl=82ment?=)
-Errors-To: wu-ftpd-errors@wunet.wustl.edu
-Reply-To: wu-ftpd@wunet.wustl.edu
-X-Mailer: Z-Mail (2.1.4 02apr93)
-Content-Transfer-Encoding: 7BIT
-References: <9409272049.AA16210@csfcorp.com>
-
-Do you know a program that displays messages when a cd command is made in a telnet session ?
-(some similar to the ftpd but for Telnet).
-
	Sounds like you'd set up something in the shell. Perhaps set your
prompt to show current directory, or alias your cd command:

alias cd        'cd \!*;echo $cwd'

	That will cd to wherever you want, then echo your current working
directory. 

	Hope this helps!

Pat
-------------------------------------------------------------------------------
	  Patrick Salsbury 				VisionWare
  Tech Support/Sys Admin/Webmaster             4500 Bohannon Dr., Suite #280
	Voice: 415/325-2113		   	   Menlo Park, CA 94025
	 FAX: 415/325-8710		     X/UNIX/PC Integration Specialists

From wu-ftpd-errors@wunet.wustl.edu Thu Sep 29 17:41:30 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqW2R-0003GNC; Thu, 29 Sep 94 17:41 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHP1Q8Y7WW000MMO@wunet.wustl.edu>; Thu, 29 Sep 1994 19:17:27 -0500 (CDT)
Received: from jomega.eglin.af.mil by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHP1Q1YDK0000JRJ@wunet.wustl.edu>; Thu, 29 Sep 1994 19:15:54 -0500 (CDT)
Received: (from gus@localhost) by jomega.eglin.af.mil (8.6.9/8.6.6)
 id TAA00519 for wu-ftpd@wunet.wustl.edu; Thu, 29 Sep 1994 19:15:27 -0500
Date: Thu, 29 Sep 1994 19:15:27 -0500 (CDT)
From: "Eric P. Augustus" <gus@jomega.eglin.af.mil>
Subject: [498] Private access group setup and use
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <199409300015.TAA00519@jomega.eglin.af.mil>
X-Mailer: ELM [version 2.4 PL24]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 1244

I recently installed wu-ftpd 2.4 and ran across the private setting in
ftpaccess. I'd like to setup a private access directory in ~ftp that is
only accessible to certain people. But from what I could gather I need
to setup a special password protected access group that points to a real
group, and the user must use SITE GROUP and SITE GPASS to access it.
I've got two questions - 1) How do I put an encrypted password in
/etc/ftpgroups? (I suppose I could always use passwd to generate a
password for a dummy account and copy that, but is there an easier way?)
Question 2) Is there anyway for the user to hide the password used to
gain access? That is, when the privileged user needs to gain access, the
user must type in "quote SITE GROUP groupname" followed by "quote SITE
GPASS password"; is there anyway to hide the password?

TIA
-- 
=======================================================================
    _/_/_/_/ _/    _/ _/_/_/_/   Eric Augustus, Capt
   _/       _/    _/ _/          WL/MNGA
  _/  _/_/ _/    _/ _/_/_/_/     Eglin AFB, FL  32542
 _/    _/ _/    _/       _/      (904) 882-4636 x2359 
_/_/_/_/ _/_/_/_/ _/_/_/_/       gus@jomega.eglin.af.mil
=================== #INCLUDE <std_disclaimer.h> =======================

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 30 15:57:23 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqqtD-0003OvC; Fri, 30 Sep 94 15:57 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHQD2O2UV4000JXM@wunet.wustl.edu>; Fri, 30 Sep 1994 17:51:55 -0500 (CDT)
Received: from rlb6000.scs.uiuc.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHQD2JBNOG000MS7@wunet.wustl.edu>; Fri, 30 Sep 1994 17:51:20 -0500 (CDT)
Received: by rlb6000.scs.uiuc.edu (AIX 3.2/UCB 5.64/4.03) id AA15095; Fri,
 30 Sep 1994 17:51:07 -0500
Date: Fri, 30 Sep 1994 17:51:07 -0500 (CDT)
From: jwcj@rlb6000.scs.uiuc.edu (John Chen)
Subject: [499] compress, tar, gzip on aix 3.2.5
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409302251.AA15095@rlb6000.scs.uiuc.edu>
X-Mailer: ELM [version 2.4 PL24alpha3]
Content-type: text
Content-transfer-encoding: 7BIT
Content-length: 437

Hi,

What is needed for wu-ftpd to support automatic creation of tar, gz, and
Z files in rs6000aix3.2.5?  I've put a copy of libs.a in ~ftp/lib, a
copy of gnu tar, gzip, and compress in ~ftp/bin, and
have put the default ftpconversions file in /usr/local/etc, but when I
try to get a directory via the command:

get directory.tar.gz

I always get a directory not exist error.

Thanks!
-- 
John Chen
jwcj@rlb6000.scs.uiuc.edu
Be happier.

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 30 17:28:45 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqsJc-0003DRC; Fri, 30 Sep 94 17:28 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHQFR2XRSW000JXM@wunet.wustl.edu>; Fri, 30 Sep 1994 19:08:53 -0500 (CDT)
Received: from uk.cv.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHQFQX52AO000MHK@wunet.wustl.edu>; Fri, 30 Sep 1994 19:08:17 -0500 (CDT)
Received: from UKMAIL1.CV.COM (ukmail1-2.CV.COM [193.129.100.39])
 by uk.cv.com (8.6.9/160694/UK) with SMTP id BAA16585 for
 <wu-ftpd@wunet.wustl.edu>; Sat, 1 Oct 1994 01:04:09 -0100
Received: from cc:Mail by UKMAIL1.CV.COM id AA780999170; Sat,
 01 Oct 94 01:08:21 GMT
Date: Sat, 01 Oct 1994 01:08:21 +0000 (GMT)
From: Graham Weeks <ghw@UKMAIL1.CV.COM>
Subject: [500] ls works, dir doesn't
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9409017809.AA780999170@UKMAIL1.CV.COM>
Content-type: MULTIPART/MIXED; BOUNDARY="Boundary (ID HiL0LAHOGCngZpvSVVsmFg)"
Content-transfer-encoding: 7BIT


--Boundary (ID HiL0LAHOGCngZpvSVVsmFg)
Content-type: TEXT/PLAIN

     Can anyone help me to understand what is hapeening here.
     
     I've just installed wu-ftpd on SunOs 4.1.1 and all appears OK, except 
     as the subject states - ls works and dir doesn't, at least not for an 
     anonymous user (its ok for a real user). This is true for both the 
     standard ls and GNU ls.
     
     My guess it has something to do with shared libraries but copying the 
     whole of /lib into ~ftp/lib didn't fix the problem.
     
     Anybody any thoughts on what is going on, or any suggestions on what I 
     should do next.
     
     Thanks,
     
     Graham Weeks
     Computervision Limited

--Boundary (ID HiL0LAHOGCngZpvSVVsmFg)--

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 30 18:21:55 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqt96-0003PRC; Fri, 30 Sep 94 18:21 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHQI47SVNK000NRB@wunet.wustl.edu>; Fri, 30 Sep 1994 20:15:57 -0500 (CDT)
Received: from mimbres.cs.unm.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHQI3ZS29S000OJJ@wunet.wustl.edu>; Fri, 30 Sep 1994 20:15:18 -0500 (CDT)
Received: from mamba.cs.unm.edu by mimbres.cs.unm.edu (5.65/033093)
 with SMTP id <AA16514@mimbres.cs.unm.edu>; Fri, 30 Sep 94 19:14:55 -0600
Date: Fri, 30 Sep 1994 19:15:10 -0600 (MDT)
From: asanchez@cs.unm.edu
Subject: [501] Re: [500] ls works, dir doesn't
In-reply-to: <9409017809.AA780999170@UKMAIL1.CV.COM>; from "Graham Weeks" at
 Oct 1, 94 1:08 am
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: wu-ftpd@wunet.wustl.edu
Message-id: <9410010115.AA14178@mamba.cs.unm.edu>
X-Mailer: ELM [version 2.3 PL8]
Content-transfer-encoding: 7BIT

> 
> 
>      
>      I've just installed wu-ftpd on SunOs 4.1.1 and all appears OK, except 
>      as the subject states - ls works and dir doesn't, at least not for an 
>      anonymous user (its ok for a real user). This is true for both the 
>      standard ls and GNU ls.
>      
>      My guess it has something to do with shared libraries but copying the 
>      whole of /lib into ~ftp/lib didn't fix the problem.
>      
>      
>      Graham Weeks
>      Computervision Limited

	I had the same problem up until today except mine was on Solaris, but
	I guess it would be the same fix for both. The libraries that are
	required are:
				ld.so
				libc.so.*  (notice the wildcard)


	Solaris requires 2 more files, but the Sun man page only list
	these two. The problem I had was that the Solaris manual was
	asking for a dl.so.1 file which doesn't exist. It's a misspelling,
	it's supposed to be ld.so.1.

	If you still can't get it to work, try this:

		become root
		make sure ls is in ~ftp/bin
		then do a chroot: 
			%chroot ~ftp ls
		This should tell you where the problem is with ~ftp/bin/ls.
		When I did it, it told me about a library it could not find.
		After I found the library everything worked out fine.


	I hope this helps you.


	Abel Sanchez
	asanchez.cs.unm.edu
	Competer Science Dept. University of New Mexico

	

From wu-ftpd-errors@wunet.wustl.edu Fri Sep 30 19:05:04 1994
X-Delivered: at request of bill on camco1
Return-Path: <wu-ftpd-errors@wunet.wustl.edu>
Received: from wunet.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.28.1 #9) id m0qqtor-0003HmC; Fri, 30 Sep 94 19:05 PDT
Received: from reprocess.wunet.wustl.edu by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHQJJ0TU8W000PK1@wunet.wustl.edu>; Fri, 30 Sep 1994 20:57:11 -0500 (CDT)
Received: from uk.cv.com by wunet.wustl.edu (PMDF V4.3-8 #5689)
 id <01HHQJIWDW5C000K84@wunet.wustl.edu>; Fri, 30 Sep 1994 20:56:21 -0500 (CDT)
Received: from UKMAIL1.CV.COM (ukmail1-2.CV.COM [193.129.100.39])
 by uk.cv.com (8.6.9/160694/UK) with SMTP id CAA21519 for
 <wu-ftpd@wunet.wustl.edu>; Sat, 1 Oct 1994 02:52:12 -0100
Received: from cc:Mail by UKMAIL1.CV.COM id AA781005652; Sat,
 01 Oct 94 02:56:29 GMT
Date: Sat, 01 Oct 1994 02:56:29 +0000 (GMT)
From: Absentee_Manager_at_CV-Basingstoke@UKMAIL1.CV.COM
Subject: [502] !AM! AutoReply for Graham Weeks
To: wu-ftpd@wunet.wustl.edu
Errors-to: wu-ftpd-errors@wunet.wustl.edu
Reply-to: Absentee_Manager_at_CV-Basingstoke@UKMAIL1.CV.COM,
 wu-ftpd@wunet.wustl.edu
Message-id: <9409017810.AA781005652@UKMAIL1.CV.COM>
Content-type: MULTIPART/MIXED; BOUNDARY="Boundary (ID VpYaPcGeTKIgokdWQPmzCA)"
Content-transfer-encoding: 7BIT


--Boundary (ID VpYaPcGeTKIgokdWQPmzCA)
Content-type: TEXT/PLAIN

==========================================================================
                         TRIAL VERSION
Reply to your message sent:  Fri, 30 Sep 1994 19
Subject: [501] Re: [500] ls works, dir doesn't
--------------------------------------------------------------------------
Graham Weeks is absent from work and will return on 10/10/1994
Messages will not be automatically forwarded to any other user.
A copy of your message will remain in his/her mailbox until he/she returns.
==========================================================================


I am out of the office until 10 October.

While I will be reading my mail during this time it will not be on a regular bas
s.

If your request requires attention before October 10th then please contact eithe

Andy Mahon (EMAIL: Andy Mahon at CV-Basingstoke or ALM@UKMAIL1;  TEL: (44) 1256
01016)
or
Dave Helyer (EMAIL David Helyer at CV-Coventry or
D1H@UKMAIL1;  TEL: (44) 1203 417718)

Graham

--Boundary (ID VpYaPcGeTKIgokdWQPmzCA)--

