ATLien

Registered
Nov 17, 2003
2
0
151
I am gettign this error with WS_FTP LE trying to login to a FTP that was created with cpanel. What is wrong? did I setup the FTP wrong?

220 ProFTPD 1.2.8 Server (ProFTPD) [server1.quality-web-hosting.net]
USER *******
331 Password required for *******.
PASS (hidden)
530 Login incorrect.
! Logon failure, so quitting
 
Last edited:

ATLien

Registered
Nov 17, 2003
2
0
151
they are not that is the thing, I have tried them many times. And it just started happening with a user and pass I had used and saved. I can login using the main on, but but not any that I create with cpanel.
 

jcf

Registered
Apr 1, 2004
3
0
151
This is a bit basic, but have you checked the user has a shell declared on /etc/shells?

Hope I am not insulting - it once happened to me and I remembered it reading your post...

Sorry for not being of much more help :)

J
 

jcf

Registered
Apr 1, 2004
3
0
151
OK, now check on /etc/passwd that the user having problems loging in has one of these shells (it must have), like

user:x:500:500:username:/home/user:/sbin/nologin

If it doesn't you either have to include the specific shell on /etc/shells or change the /etc/passwd with one already there...

Hope it helps...

J


Originally posted by nettigritty
/etc/shells has ..

/bin/sh
/bin/bash
/sbin/nologin
/bin/bash2
/bin/ash
/bin/bsh
/bin/tcsh
/bin/csh
/bin/ftpsh
/usr/local/cpanel/bin/noshell
/usr/local/cpanel/bin/jailshell

thats it ..
 

djmerlyn

Well-Known Member
Aug 31, 2004
201
1
168
I'm adding to this old ticket mostly for my own future reference.

I just restored several reseller backups and had complaints that none of the FTP accounts worked, so looking in /etc/password I see they have:

/bin/false

I simply changed that to:

/usr/local/cpanel/bin/noshell

And saved on the way out, and it fixed all the issues. I guess it bears the question, what was /bin/false doing there? But who cares, works now ;)

Cheers!