General discussion

Locked

FTP Server

By larry.dingle ·
I can't get the FTP server on an RHL 6.1 box to accept any login. I downloaded and installed wu-ftpd-2.6.1. Then I copied all of the ftp* configuration files from a working system. No matter what user I try (root or non-root) the result is the same -- "530 Login incorrect."

Hosts.allow/deny, ftpservers, and ftphosts are empty. I renamed ftpusers and ftpgroups to eliminate them. Ftpaccess looks mostly like the example from the wu-ftpd download, modified to block anonymous and guest.

I'm having to learn Linux admin on the fly. The consultant who did the other installation is not readily available.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

FTP Server

by zbrain75 In reply to FTP Server

Read your /var/log/messages and /var/log/secure files to get some more information about why the attempted login may have failed. Be sure your password is really what you think it is and your non-root users really exist and have a home directory in/home. You should not be able to directly login as root since the root password could be compromised.

Your /etc/shells file should have the following permissions:
-rw-r--r--
and be owned by root for user and group.

Be sure shadow password support was compiled into the ftpd daemon since your system should be using shadow passwords.

See the FAQ at:
http://www.landfield.com/wu-ftpd/

For documentation:
http://www.linuxdoc.org/
has many how-tos, and books on Linux.

Also
http://www.ctdp.homestead.com/files/os/linux/index.html has a users guide and xome links.

Collapse -

FTP Server

by larry.dingle In reply to FTP Server

Thanks. Turned out to be shadow password support. /usr/lib/libshadow.a was missing. Took awhile to figure out how to create it. Then tried to rebuild wu-ftpd. Using the build script didn't work -- filed to detect shadow support. The configure scriptdid the trick.

Collapse -

FTP Server

by larry.dingle In reply to FTP Server

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums