LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 08-06-2001, 06:55 PM   #1
wwwgeek
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?

Thanks!
 
Old 08-16-2001, 06:48 AM   #2
gizmola
Member
 
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 http://www.wu-ftpd.org/
 
Old 09-15-2001, 01:46 PM   #3
geharvey
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.
 
  


Reply


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 08:57 AM
FTP+Anonymous Access KrGAce Linux - Enterprise 5 03-05-2007 06:16 AM
Anonymous access ftp using Proftpd mkabia Linux - Networking 2 12-11-2004 05:18 AM
Anonymous login FTP hkgonra Mandriva 8 10-07-2003 06:30 PM
Restricting Anonymous FTP access? Comatose51 Linux - Networking 2 10-06-2003 05:17 PM


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

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