cancel
Showing results for 
Search instead for 
Did you mean: 

user cannot login with FTP

Mawuse
Frequent Advisor

user cannot login with FTP

Hi,

 

 All users accounts even newly created ones could ftp to my HP-UX 11.31 server except only one user account: T24LIVE.

Here is the output:

 

C:\>ftp 10.150.0.5
Connected to 10.150.0.5.
220 rxeaslgh FTP server (Revision 4.0 Version wuftpd-2.6.1 Wed Jun 18 07:11:14 G
MT 2008) ready.
User (10.150.0.5:(none)): T24LIVE
331 Password required for T24LIVE.
Password:
530 Login incorrect.
Login failed.
ftp>

 

Please help me troubleshoot.

 

Best Regards,

Yaboto

 

 

5 REPLIES
Pete Randall
Outstanding Contributor

Re: user cannot login with FTP

It sure looks like the wrong password was entered.


Pete
Mawuse
Frequent Advisor

Re: user cannot login with FTP

Please the password is ok. I am using the same password to telnet successfully. There is no issue with the password.

 

Please help !!!

RickT_1
Valued Contributor

Re: user cannot login with FTP

Yaboto,

 

Have you checked to make sure you don't have a duplicate user id?

 

Rick

Dennis Handly
Acclaimed Contributor

Re: user cannot login with FTP

>except only one user account: T24LIVE.

 

What is the shell of this user?  Is it in /etc/shells?

Avinash20
Honored Contributor

Re: user cannot login with FTP

Check /etc/ftpusers.
          ftpd rejects remote logins to local user accounts that are named in /etc/ftpusers.  Each restricted account name must appear alone on a line in the file.  The line cannot contain any white space. User accounts that specify a restricted login shell in /etc/passwd should be listed in /etc/ftpusers because ftpd accesses local accounts without using their login shells.

You need to add or verify /etc/shells.

          /bin/sh
          /bin/rsh
          /bin/ksh
          /bin/rksh
          /bin/csh
          /bin/pam
          /bin/posix/sh
          /sbin/sh
          /usr/bin/sh
          /usr/bin/rsh
          /usr/bin/ksh
          /usr/bin/rksh
          /usr/bin/csh
          /usr/bin/keysh

All shells referred to in /etc/passwd or in the NIS passwd map should be valid shells or links on this system and be listed in /etc/shells.
If the files does not exist kindly create it

"Light travels faster than sound. That's why some people appear bright until you hear them speak."