Post by Richard BeaverRecently we switched FTP service from unix to linux. Now it seems our
anonymous FTP does not work anymore. Anyone have any ideas why this
might have happened and what can I do to get it going again?
Well, you don't give much information to go on...
Presumably regular FTP is working, since you only say the anonymous FTP is
broken. On that assumption, here are a few things to check :
a) Was the server compiled to disallow anonymous access ? If so, you'll
need to recompile it. The WU-FTPD server can be compiled to disallow
anonymous access by setting the NO_ANONYMOUS_ACCESS macro at compile time.
If it was built using the "configure" command, then the --disable-anonymous
command line option would do this, and you should see the message
"Anonymous FTP access denied." returned to the client, plus
"FTP LOGIN REFUSED (anonymous ftp not supported)" logged via syslog. The
syslog messages posted when anonymous access is refused for another reason
vary slightly from the above, so check carefully.
b) Have you set up the ftp account correctly for the Linux server ? (Hopefully
the ftp man page has the relevant instructions for setting up the anon ftp
serbice for your OS). If the ftp user has not been set up, anonymous access
will fail.
c) Have you checked that the "ftp" user is not listed in the file
/etc/ftpusers ? The filename is a bit of a misnomer, since it contains a
list of users _not_ allowed to use FTP.
d) Assuming you are running the WU-FTPD server, since you posted to this list,
do you have a guestserver directive in the ftpaccess file ? If present, and
your linux host is not listed in the directive, this would cause anonymous
access to be denied.
e) Are you running a virtual server; if so check that you don't have the
command
virtual <address> private
in your ftpaccess file, as this would prevent anonymous access to the
virtual server given by <address>.
Also if you are running a virtual server, check for the presence of the
defaultserver private
command in the ftpaccess file; this has a similar effect on the default -
ie. non-virtual - server.
Checking the message returned to the syslog daemon by the ftp server when it
denies the anonymous access should also help provide a clue to the reason.
Good luck !
Cheers, Bob
--
Bob Luckin ***@ti.com "Coder, adapt; FTP Ada, redo C"