Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2001, 05:55 PM   #1
LQ Newbie
Registered: Aug 2001
Posts: 1

Rep: Reputation: 0
Question ftp says login incorrect - anonymous access works fine?!?

RedHat 7.1 - "Server" type installation - all defaults accepted

I can FTP into my system using the anonymous login, but when I try to FTP using one of the accounts on my system I get the following error.

530 Login Incorrect
Login Failed

I added the accounts using the useradd command (specifying only the name parameter). I then used passwd to set the password on the account.

The accounts I have added CAN log in at the console of the system.

What have I not configured properly?

Old 08-16-2001, 05:48 AM   #2
Registered: Jun 2001
Location: Los Angeles, CA USA
Distribution: RedHat
Posts: 53

Rep: Reputation: 15
You didn't state this but I assume you are using wu-ftpd. If so, check the following :

Reasons for denial are logged using syslog. Check your logs.

Their shell is in the /etc/shells file.

/etc/shells needs the correct access rights (world readable and not world writable).

If you're using shadow passwords : make sure the daemon is compiled with shadow password support.

Setttings in the ftpaccess file. rtfm at
Old 09-15-2001, 12:46 PM   #3
LQ Newbie
Registered: Aug 2001
Location: High Wycombe
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
ftp login

I had the same problem with my linux 5.2 installation, using wu-ftpd. It took me hours to work out what the problem was. I found that the system was using PAM to authenticate the login. There is a "pam.d" directory under "/etc". try copying the "login" file to another file named "ftp". PAM looks for a file in this directory with the service name that you are connecting to and uses this to perform the login security check.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] anonymous ftp server and access to vfat mounts mengoshmink Linux - Networking 1 10-24-2010 07:57 AM
FTP+Anonymous Access KrGAce Linux - Enterprise 5 03-05-2007 05:16 AM
Anonymous access ftp using Proftpd mkabia Linux - Networking 2 12-11-2004 04:18 AM
Anonymous login FTP hkgonra Mandriva 8 10-07-2003 05:30 PM
Restricting Anonymous FTP access? Comatose51 Linux - Networking 2 10-06-2003 04:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration