530 Login Incorrect in ftp server
when i try to login to the ftp server with the new user created for ftp,it says "530 Login Incorrect" though the username and password is correct. But the previous ftp users can login so i don't know where m i going wrong...even the file permissions are correct..
Can anyone tell me what could be the problem? |
Check out /etc/ftpusers or was it /etc/ftpuser? Maybe this one gets used in addition to anything you configured the ftp server itself for. While at it what ftp server are you using?
To rule out any typos with the username and password if it's a system user try logging in. |
well i'm using vsftpd server..
well /etc/ftpuser looks ok....it isn't that the new user is the first ftp user,there are other existing user already and i can login via those...it's just that the new user is giving that error when trying to login so m completely blank now.. |
What does /var/log/vsftpd.log say?
How did you create the new user? |
the log doesnt show logs with that new user created..
my vsftpd conf is: Code:
Ftp5 we have other 3 ftp users through which i can login..only the new user isn't...the previous users weren't created by me and these users were there in user_list file so i added the new one there and restarted vsftpd and also created the home directory for that new user as it's required...in this server instead of virtual-user.txt,user_list is used for maintainig users and passwords and change as been made in vsftpd.conf as well. everything is same...just don't understnad why the new user is not able to login.... |
What are the directory privileges to which this user is set on login ,
let's say the userdir is: /home/users/someuser and the directory privileges are "700" ? Maybe the directory doesn't exist ? some vsftpd error 530 example |
Code:
userlist_enable=YES But as you also have local_enable set to yes. I would set userlist_enable to NO and so only allowing local users to login. (If I understand the man page right). Your are saying that "in this server instead of virtual-user.txt,user_list is used". I can't find any option for this inside the config... Did you try to login with the new user you created on the system itself? Not ftp. Just plain bash login or ssh or similar. Nother things to check on. As you are using the pam module pam_service_name=vsftpd-virtual check the file /etc/pam.d/vsftpd-virtual to see whats going on there. Also see if you can get some debug of the pam module. |
ya that's what.. user-list should not have been used for maintaining the user and their passwords.. instead virtual-users.txt should have used which we need to create it ourselves....
but i can't do that now because the database will be using the user_list file so it might block the old ftp users.. well i tired doing ssh but still couldnt login..as i'm on a different local machine i did 'ssh username@x.com'(names have been changed) but couldnt login.. and ya lithos,the directory permission are correct..it's same as that of the other users.. |
Quote:
Code:
ssh -vvv username@x.com If you have console access try login directly. Maybe create a new user and see if you can login with that over ssh? |
it is not that the new user is not able to ssh..
all the virtual users cant do ssh..they can only do ftp....only the local user of the ftp server can do ssh... |
I can't actually follow you anymore. Sorry that I have wasted your time.
|
ok then let me explain you again...
vsftpd has been used for the ftp server....so for doing ssh into the server it's a differnt case but if i want to do ftp into the server say via browser or file client then i need to have separate users created as this is required by the vsftpd conf file.. so this is done via text files and all.. so m sayin i have created a new user for ftp(uploading and downloadin) but i cant loging with this user whereas the old users can login in... anyway thanks...thanks for ur time... |
All times are GMT -5. The time now is 11:10 AM. |