Results 1 to 5 of 5
Hello there.
I have a network. One computer has vsFTPd on it. Its internal IP is 10.0.0.6.
Another computer (10.0.0.3) is trying to connect:
Code:
$ ftp
ftp> open 10.0.0.6
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-02-2012 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 33
vsFTPd login fail
Hello there.
I have a network. One computer has vsFTPd on it. Its internal IP is 10.0.0.6.
Another computer (10.0.0.3) is trying to connect:
I am entering the correct password for the user which was set:Code:$ ftp ftp> open 10.0.0.6 Connected to 10.0.0.6. 220 (vsFTPd 2.3.2) Name (10.0.0.6:UserName): UserName 331 Please specify the password. Password: 530 Login incorrect. Login failed. ftp>
What could be wrong?Code:$ sudo passwd UserName
Thank you for your time.
Kind regards,
Marius
- 01-03-2012 #2
Could the server be misconfigured? There are some specific configuration options that have to be set to enable local users (users in /etc/passwd) to login with their passwords.
There may be also an encoding problem of your password if you have special characters in it. For example characters with diacritics, circumflexes and especially the german characters ß,ä,ü,ö,etc could cause trouble since they have to be encoded on your client and decoded on the server with the same encoding (i.e. UTF8 vs ISO8859-15 vs ISO8859-1).
Good luck!Last edited by Kloschüssel; 01-03-2012 at 07:00 AM. Reason: typo
- 01-03-2012 #3is this enabled in your vsftpd.conf fileCode:
local_enable=YES
linux user # 503963
- 01-03-2012 #4Just Joined!
- Join Date
- Dec 2010
- Posts
- 33
"local_enable" is YES.
Password only contains a-zA-Z0-9.
Yes. It is enabled.
UPDATE: If tried logging in with one of the other accounts on the host computer. This was successful. The question then: What could be wrong with the user I logged in previously?
SOLVED! Opened /etc/passwd and changed /bin/false to /bin/bash
Thanks.MLast edited by kingoslo; 01-03-2012 at 08:30 PM.
- 01-03-2012 #5
Is this a real user (as in one with a bash shell) or a virtual user (using /bin/false).
A lot of times, if your shell is not proper it can cause problems. If you used /sbin/nologin, it has been known to cause login errors with vsftpd. If you used /sbin/nologin, then change it to /bin/false.
Of course, one way to test it would be to login and test the password.
If the user has a false shell:
OtherwiseCode:su - UserName -s /bin/bash
Code:su - UserName
linux user # 503963


Reply With Quote

