1763035 Members
2874 Online
108909 Solutions
New Discussion юеВ

FTP Problem

 
Shyam Sundar
Advisor

FTP Problem

Hi,

In one of the newly installed Redhat linux 7.2 system, we have a problem with ftp.
When we ftp to that system and give the username & password, it says,

"530 Login incorrect.
Login failed."

-eventhough as the username and password is correct.

Please help me is solving this issue.

Thanks & Regards,
Shyam




7 REPLIES 7
U.SivaKumar_2
Honored Contributor

Re: FTP Problem

Hi,
What is the error log in /var/log/messages at that time ??

regards,
U.SivaKumar
Innovations are made when conventions are broken
Shyam Sundar
Advisor

Re: FTP Problem

Hi Sivakumar,

Thanks for your respone.

There is no specific error message in the messages file. It has the standard log of -"FAILED LOGIN FROM REMOTEHOST".

Regards,
Shyam
U.SivaKumar_2
Honored Contributor

Re: FTP Problem

Hi,
OK , have a look at this file ftpusers under
/etc have you put that user in ftp blacklist.
Also check /etc/hosts.allow that any restriction is put on your host.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Shyam Sundar
Advisor

Re: FTP Problem

Both the files seems to be ok.
No restrictions are in place.

Thanks,
Shyam

U.SivaKumar_2
Honored Contributor

Re: FTP Problem

Hi shyam,
Check the login shell for that user having ftp problem in /etc/passwd . for eg /bin/bash .

Now check whether the same shell entry is in /etc/shells . for eg: /bin/bash

If not , add the user's shell in /etc/shells.
hope your problem is solved.

regards,
U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: FTP Problem

hi shyam,
Also check these things.
edit /etc/ftpaccess , comment lines starting with deny-uid deny-gid .

Put this line ( only one such line ) in that file.
class all real,guest,anonymous *

Try the ftp again. Remember that you will not
be able to login to ftp as root due to security
reason. Still if you want it, then remove entry root from /etc/ftpusers

regards,
U.SivaKumar
Innovations are made when conventions are broken
Shyam Sundar
Advisor

Re: FTP Problem

The problem has been rectified by forcefully installing another version of wu-ftp & restarting xinetd.

Thanks,
Shyam