vsftpd 530 login incorrect
Hi Folks,
I'm trying to setup vsftpd, looks like I'm partly there because I'm able to connect - I'm just not able to login. I have this line in my vsftpd.conf file: local_enable=YES If I'm not mistaken this is supposed to enable local users to login with their accounts. I also have taken these steps from the root account: Code:
# groupadd ftp-users Finally issued thes commands: Code:
# chown root:ftp-users /home/ftp-docs/* Here's what happens when I try to connect: ftp 192.168.0.199 Connected to 192.168.0.199. 220 Slackbox FTP User (192.168.0.199:(none)): user1 331 Please specify the password. Password: 530 Login incorrect. Login failed. ftp> I know the user1 acounts was actually created, because I'm able to logon to the machine locally with it, just not via ftp. Any idea what I'm missing? Thanks, Paul |
Hi paul,
Your vsftpd.conf should look like this:- #anonymous_enable=YES local_enable=YES write_enable=YES pam_service_name=vsftpd userlist_enable=YES Also check /etc/vsftpd/user_list and /etc/ftpusers This will allow the local users to access their home directories via ftp Bye Aniruddha |
Quote:
(One of the problems of different distros. What one has, another doesn't) |
|
What I needed to do was add check_shell=NO to the vpsftpd.conf
Worked like a charm. Thanks for the help, it started me in the right direction. Paul |
pam_service_name=vsftpd
I've tried, when using vsftpd-1.1.3-8(default version for redhat-9) and vsftpd-2.0.5, if you dont specify this parameter, you'll get a 530 Login incorrect. Login failed. Seems to be a bug =.= |
Actually it isn't a bug. Try putting /bin/bash in your /etc/shells file.
|
Oppiet30 Thank you SO much!!! I set up a new FTP server, moved over all my users from the old server, and could NOT get them to log in... But I had a special shell named for all of them and forgot to put it in to /etc/shells... Instant fix! Thanks a bunch!
|
vsftp login
Verify the users shell does not point to a symbolic link.
|
Quote:
|
Quote:
https://github.com/kikinovak/slackwa.../FTP-HOWTO.txt Cheers, Niki |
Niki, this was a necro from 2 1/2 years ago.
|
All times are GMT -5. The time now is 07:07 AM. |