Pete Young wrote:
> Having proved that I have a stable-ish Indy with Hardhat 5.1, kernel
> version 2.2.1 , i thought I might put it to work as an ftp server
> for part of our internal mirror system.
> Installed the rpms for anonftp and wu-ftpd from our mirror of the
> latest distribution, but found we got some odd behavior from the
> ftp daemon: it was quite happy for people using the Solaris 2.6
> client, but using the BSD client or the netscape client I see no
> files or directories (although it is possible to move about
> the directory structure if you know what the subdirectories are
> I also built a more-up-to-date version of wu-ftpd (version 2.5.0
> with QUOTAS disabled) but the same thing seems to be happening.
> Is this a known problem, and if so is there a fix?
> Kind regards,
This sounds like you are missing something in the lib directory for
your anonymous ftp account. Im not positive how wu-ftpd is configured
for Linux but looking in ~ftp/lib for libc.so, ~ftp/bin for ls and
~ftp/dev for zero would probably be where I would start first.
Here is a good simple set of instructions for configuring an anon ftp
~ftp Make the home directory owned by ``ftp'' and unwritable
anyone (mode 555 - see chmod(1)):
chown ftp ~ftp
chmod a-w ~ftp
~ftp/bin Make this directory owned by the super-user and
by anyone (mode 555). The program ls(1) must be
support the list commands. This program should have
~ftp/etc Make this directory owned by the super-user and
by anyone (mode 555). The files passwd(4) and group(4)
be present for the ls command to be able to produce
names rather than numbers. This should not be a copy
real file in /etc, and in particular, it should contain
encrypted passwords from the real /etc/passwd or
The password field in passwd is not used. Only the
number of accounts should be listed. These files
Make this directory own by the super-user and
anyone (mode 555). In order for ls to run, the files
/lib32/rld and /lib32/libc.so.1 must be copied into
(older releases, or some uses of other programs might
require the o32 versions in /lib. Both rld and
should be readable and executable by everyone, e.g.
~ftp/dev Make this directory owned by the super-user and
by anyone (mode 555). rld uses /dev/zero, so use
to make a copy of /dev/zero in ~ftp/dev with the same
and minor device numbers. Make /dev/zero read-only
mknod ~ftp/dev/zero c 37 0
chmod 444 ~ftp/dev/zero
~ftp/pub Make this directory owned by ``ftp''. If local users
remote anonymous users are to be allowed to write in
directory, change the directory's mode to 777. Users
then place files which are to be accessible via the
anonymous account in this directory. If write accesses
to be denied, change the directory's mode to 555.
Hope that helps!
Eric Kimminau firstname.lastname@example.org Electronic Support Tools
Vox:248-848-4455 Fax:248-848-5600 VNET:6-327-4455
"I speak my mind and no one else's."
"I am a bomb technician. If you see me running, try to keep up..."