SUMMARY: Wu-ftpd 2.4.2b16 on Solaris 2.6

From: Frederic Piard (
Date: Wed Apr 29 1998 - 08:23:30 CDT

Thanks to all of you.

So there is problem (a bug :-) in this version of Wu-ftp. Maybe this
appears only on Solaris-2.6 ? I don't know.
However it seems that a great number of you have'nt even seen this

The probleme is that in.ftpd does not accept a SINGLE argument. It is ok
with none, with 2, with 3, etc. but it does not work with just 1.

in /etc/inetd.conf :
ftp stream tcp nowait root /home//bin/in.ftpd in.ftpd ->
works fine but without the access file control
ftp stream tcp nowait root /home//bin/in.ftpd in.ftpd -a -l
-> works fine
ftp stream tcp nowait root /home//bin/in.ftpd in.ftpd -a ->

It seems to be a know bug.

How to bypass this bug. There is at least 4 ways to do it :

1) Do not use any arguments (the behavior of wu-ftpd will be the same as
an ordinary ftpd)
2) Install a patch. I havent' found it but someone mentioned it.
3) Use 2 arguments : "-a -l" or "-A -a"
4) Modify the source of ftpd.c in order to have the right default
behavior and do not use any arguments

As I wanted wu-ftpd to use the access file and I haven't had completly
understood the problem I use the last one.
In ftpd.c, starting line 277
change :
>/* Access control and logging passwords */ >/* OFF by default. _H*/ >int use_accessfile = 0;
>/* Access control and logging passwords */ >/* ON by default. _H*/ >int use_accessfile = 1;

Thanks to :
Carle Brisson <>
David Schiffrin <>
Chris Marble <>
Patrick L. Nolan <pln@egret1.Stanford.EDU>
Pete Holsberg <>
John Keeton <>
Robert G. Ferrell <>
Michael Kriss <>
Sarantis Papanagnou
and to the mini help file of Michael Brennen <>
       at <>
My question was :

Dear Gurus,

I am trying to install wutfpd on one of our Solaris 2.6 workstation.
I have compiled it with Gcc-2.8.1 without any errors.

When I configure /etc/inetd.conf this way :
ftp stream tcp nowait root /home/local/Wu-ftpd/bin/in.ftpd
it works but without all the advantages of wu-ftp.

When I configure /etc/inetd.conf this way :
ftp stream tcp nowait root /home/local/Wu-ftpd/bin/in.ftpd
in.ftpd -a
it does nt works anymore.

each time I do a single ftp to my station I get :
# ftp safran
Connected to safran.
421 Service not available, remote server has closed connection
and this is written in my /var/adm/message :
Apr 28 17:48:10 safran ftpd[19614]: exiting on signal 11

Do you know how to configure /etc/inetd.conf ?
Is there an obvious mistake somewhere ?
Did anyone succeed in using it ?

Thanks you very much for your answers, I am completly lost :-(((

 -Frederic Piard

Erli - 1 Place des Marseillais, 94227 Charenton-Le-Pont, Cedex, France
E-mail : - WWW : <>

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:39 CDT