Subject: Re: Wu-ftpd configuration

From: Serge Bezzubov <[email-masked]>
Date: Tue, 16 Apr 1996 13:09:18 +0400

> From [email-masked] Mon Apr 15 17:08 MSD 1996
> Date: Mon, 15 Apr 1996 08:56:09 -0400
> From: [email-masked] (Junlei Zhang)
> To: [email-masked]
> Subject: Wu-ftpd configuration
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
> Does anyone know if the pathname.h file in wu-ftpd2.4.10 beta file can
> be modified or have to be taken at the default falues?

Yes, it can be modified. However you should have a config.<platform> file
from src/config directory as a reference in order to configure the paths
properly. I have wu-ftpd2.4.2-beta10 running under Solaris 2.4. So I opened
the pathnames.h and config.sol files. The structure of the pathnames.h file
is based on "ifdef <variable>... else... endif" construction. Look at the 
config file and modify appropriate lines in pathnames file. For example:
I've got the USE_ETC variable defined in the config.sol file. So

#ifdef USE_ETC
#define _PATH_FTPUSERS  "/etc/ftpusers"             I've changed the paths
#define _PATH_FTPACCESS "/etc/ftpaccess"       / -  right in this part,
#define _PATH_CVT       "/etc/ftpconversions"  \ -  because the USE_ETC_FTPD
#define _PATH_PRIVATE   "/etc/ftpgroups"            isn't defined in the 
#else                                               config.sol file.
#ifdef USE_ETC_FTPD
#define _PATH_FTPUSERS  "/etc/ftpd/ftpusers"
#define _PATH_FTPACCESS "/etc/ftpd/ftpaccess"
#define _PATH_CVT       "/etc/ftpd/ftpconversions"
#define _PATH_PRIVATE   "/etc/ftpd/ftpgroups"
#else
#define _PATH_FTPUSERS  "/usr/local/lib/ftpd/ftpusers"
#define _PATH_FTPACCESS "/usr/local/lib/ftpd/ftpaccess"
#define _PATH_CVT       "/usr/local/lib/ftpd/ftpconversions"
#define _PATH_PRIVATE   "/usr/local/lib/ftpd/ftpgroups"
#endif
#endif

Yoy should modify other parts in such manner.
> 
> I modified it, configured the server, created the related directories and
> files.  But when I restarted the server, it is not doing anything as
> configured.  For example, it's not logging any traffic, not checking
> passwords.

Don't forget to run ckconfig utility after successful compilation to make sure
that the server will took right paths.

Sorry for bad English.

Cheers,
Serge Bezzubov <[email-masked]>
YNC, Yaroslavl, Russia