1819836 Members
3091 Online
109607 Solutions
New Discussion юеВ

Re: FTP Login Incorrect

 
SOLVED
Go to solution
Neil Herring_1
Advisor

FTP Login Incorrect

I have a system which provides the following output when attempting to FTP to one system

/root]ftp meskpweb
Connected to meskpweb.
220 meskpweb FTP server (Version 1.1.214.4(PHNE_30432) Thu Feb 26 10:46:14 GMT 2004) ready.
534 Kerberos Authentication not enabled.
534 Kerberos Authentication not enabled.
KERBEROS_V4 rejected as an authentication type
Name (meskpweb:root): magspn
331 Password required for magspn.
Password:
530 Login incorrect.
Login failed.

I have looked at all the current forum sites and can see that this is known problem whereby you can telnet into a system using the correct passwd but the system does not allow you if you try and FTP. One solution was to reset the password for the login which I did but this has not worked for myself!

There was a patch that can be installed for this particular issue (PHNE_23949), but it is for 11.00 not 11.11 which is what I am running and I assume that this problem was ironed for 11.11 considering we are now at PHNE_30432?

Any helpful suggestions gratefully received.
7 REPLIES 7
Ivan Ferreira
Honored Contributor

Re: FTP Login Incorrect

Ensure that the user is not listed in /etc/ftpd/ftpusers. Also, ensure that the user has a valid shell returned by getusershell, for example, /usr/bin/ksh.

If the user has another shell that is not listed in the manpage for getusershell, you need to add that shell name to the /etc/shells file. This file does not exists by default.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Neil Herring_1
Advisor

Re: FTP Login Incorrect

Hi Iva

Quick reply!

Sorry, should have mentioned that I have checked all these areas.

There is no /etc/shells file anyway
The shell is /sbin/sh which works fine for other FTP users and I did even try changing the shell to /usr/bin/sh for example to see if that made a diference.

Devender Khatana
Honored Contributor
Solution

Re: FTP Login Incorrect

Hi,

Is there some special character in the password of this user? See man passwd which indicates about not using a few characters in the passwords.

Although the issue might be different. But you can try this also out.

HTH,
Devender
Impossible itself mentions "I m possible"
Arunvijai_4
Honored Contributor

Re: FTP Login Incorrect

Hi,

Check this thread,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=419866

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Asif Sharif
Honored Contributor

Re: FTP Login Incorrect

The first thing that I would do is check the ftpaccess file on the remote machine. Is it allow user root to ftp?

2ndly do you have /etc/shells file in place? If not, get it from /usr/newconfig/etc/ directory .Else prepare one with shells that are users using.

/usr/bin/ksh
/usr/bin/sh

etc...

Regards,


Asif Sharif
Regards,
Asif Sharif
Sivakumar TS
Honored Contributor

Re: FTP Login Incorrect


Hi Neil,

1. Are you trying to do this ftp session/login from a HPUX system or a Linux Client.
( I assume the ftp server is a HPUX system in which the kerberos auth is not enabled)

2.If you are trying to do a ftp session from a system in which kerberos auth is enabled ( ie, the command line ftp client is kerberous enabled) then there are possiblites that you receive this message as the ftp server is not kerberous enabled.

3.Could you try to do a ftp from the same machine, ie..login to meskpweb - server (using telnet) and try
#ftp 127.0.0.1

check if it works! This will confirm the ftp server config.

With Regards,

Siva.
Nothing is Impossible !
Neil Herring_1
Advisor

Re: FTP Login Incorrect

Cannot believe that it was because there was a # character in the password! SFTP does not have this problem so I can only learn from this situation. Thank you very much Devender.