1838580 Members
3029 Online
110128 Solutions
New Discussion

Re: FTP login failed

 
Sachin Kumbla
Frequent Advisor

FTP login failed

Hi ,

i can login with the password of some user say xyz but while trying to ftp it is failed.it shows error login failed. ftp is enabled.is it this some bug??

Waiting for the prompt reply.

rgds,
Sachin


8 REPLIES 8
Anshumali
Esteemed Contributor

Re: FTP login failed

Check /etc/ftpd/ftpusers
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Dennis Handly
Acclaimed Contributor

Re: FTP login failed

Is their shell in /etc/shells?
Anshumali
Esteemed Contributor

Re: FTP login failed

Dennis, IMHO...if the shell is not listed in valid shells file or have false in /etc/shells...he wouldn't get the shell access, he seems to be saying that he can login but only ftp isn't working.
Reverse would have been true...Am i wrong somewhere?

Anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Sachin Kumbla
Frequent Advisor

Re: FTP login failed

the entry is not in the ftpusers file
the problem gets resolved when the password is enabled
but after some time it again gives the same issus
Anshumali
Esteemed Contributor

Re: FTP login failed

what do you mean by password is enabled.....?Can you elaborate the full situation and your observations?
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Dennis Handly
Acclaimed Contributor

Re: FTP login failed

>Anshu: if the shell is not listed in valid shells file ... he wouldn't get the shell access, he seems to be saying that he can login but only ftp isn't working.

You have it reversed but in a few cases you're right.

For years I could rlogin to a machine but could never ftp. But I could ftp to others. I finally heard about /etc/shells and that fixed it.

login(1) doesn't care about /etc/shells.
sendmail(1M), chsh(1) and ftp cares.

ftp cares:
http://www.docs.hp.com/en/5964-1370/ch03s11.html
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1026681
Anshumali
Esteemed Contributor

Re: FTP login failed

Nice Dennis...
thanks, thats the beauty of this ITRC forums. I learn many things everyday!

Anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
F Verschuren
Esteemed Contributor

Re: FTP login failed

hi, you are saying the problem is solved after resetting the password and after a time it is back again,
"pam" (autentication module of hp) have settings that enfource you to change the passwd every ?? days, ore that the acount is locked after ?? bad login atemts,
you must find out what is locking the user, if you enable the user whit sam it will say the reason it is locked.
if it is a bat login atemt you can use the /var/adm/btmp files to see when the use was locked.