1751883 Members
5463 Online
108783 Solutions
New Discussion

Re: 530 Login incorrect.

 
Indrajit Bhagat
Regular Advisor

530 Login incorrect.

p2_opm@adeagimh:/etc/ftpd > ftp 127.0.0.1
Connected to 127.0.0.1.
220 adeagimh FTP server (Revision 1.1 Version wuftpd-2.6.1 Mon Oct 23 02:01:44 GMT 2006) ready.
Name (127.0.0.1:p2_opm): p2_opm
331 Password required for p2_opm.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221 Goodbye.

 

Hi Expert, I am trying to ftp with user p2_opm, but i am getting 530 Login incorrect., with root i am able to do ftp, 

 

I am getting following error message in syslog:

 

Aug 23 09:03:38 adeagimh ftpd[2692]: FTP server (Revision 1.1 Version wuftpd-2.6.1 Mon Oct 23 02:01:44 GMT 2006) ready.
Aug 23 09:03:40 adeagimh sshd[2697]: Accepted password for p2_ccb from 10.207.35.217 port 2262 ssh2
Aug 23 09:03:40 adeagimh sshd[2700]: subsystem request for sftp
Aug 23 09:03:41 adeagimh ftpd[2692]: pam_authenticate:No account present for user
Aug 23 09:03:41 adeagimh ftpd[2692]: User user p2_opm opm_4_p2: Login incorrect
Aug 23 09:03:41 adeagimh ftpd[2692]: failed login from adeagimh [195.233.85.244]
Aug 23 09:03:41 adeagimh ftpd[2692]: FTP session closed

 

Please suggest me

10 REPLIES 10
satget
Occasional Advisor

Re: 530 Login incorrect.

Hi,

 

Please check the userid p2_opm is available in /etc/ftp/ftpusers file. If not, make the entry.

 

-Sathish

Indrajit Bhagat
Regular Advisor

Re: 530 Login incorrect.

Hi

As suggested I had added the entry in /etc/ftp/ftpusers, but still facing the same issue

 

adeagimh:/etc#ftp adeagimh
Connected to adeagimh.
220 adeagimh FTP server (Revision 1.1 Version wuftpd-2.6.1 Mon Oct 23 02:01:44 GMT 2006) ready.
Name (adeagimh:root): p2_opm
331 Password required for p2_opm.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

 

 

I am also wondering about the error message :

331 Password required for p2_opm.

Dennis Handly
Acclaimed Contributor

Re: 530 Login incorrect.

Have you made sure that user's shell is in /etc/shells?

 

>I am also wondering about the error message: 331 Password required for p2_opm.

 

This isn't an error.  It is an info message about security.

satget
Occasional Advisor

Re: 530 Login incorrect.

I have done typo mistake... add the entry in /etc/ftpd/ftpusers
Indrajit Bhagat
Regular Advisor

Re: 530 Login incorrect.

Same result;

 

Connected to adeagimh.
220 adeagimh FTP server (Revision 1.1 Version wuftpd-2.6.1 Mon Oct 23 02:01:44 GMT 2006) ready.
Name (adeagimh:root): p2_opm
331 Password required for p2_opm.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

 

adeagimh:/etc/ftpd#cat ftpusers
p2_opm

 

Still user is not able to login

Steven Schweda
Honored Contributor

Re: 530 Login incorrect.

 
satget
Occasional Advisor

Re: 530 Login incorrect.

Add the user's shell in /etc/shells. It should work...

# cat /etc/shells
/bin/ksh
/bin/bash
Hakki Aydin Ucar
Honored Contributor

Re: 530 Login incorrect.

if you add ftpusers your user_name, it won't be allowed ftp access, like Steven stated..

Indrajit Bhagat
Regular Advisor

Re: 530 Login incorrect.

Hi Satget

 

It worked, but adding the user shell in /etc/shells. But could you please describe the logic behind ftp /etc/shells, should we could had idea behind the solution.

 

Thanks to all Engineer for your valuable time to reply my query.