You are not logged in.

#1 2015-05-03 16:54:19

falkseidl
Member
Registered: 2015-05-03
Posts: 1

vsftpd login problem

I've followed the vsftpd guide at the Wiki to set up a ftp server with virtual users.
But when I try to login, it shows "530 Login incorrect."

I've noticed that the "pam_pwdfile.so" file doesn't exist in /lib/security, but it's needed for the authentification, I tried to install this library, but I didn't found it.

Below are my config files, /etc/vsftpd.conf:

pam_service_name=vsftpd
write_enable=YES
hide_ids=YES
listen=YES
connect_from_port_20=YES
anonymous_enable=NO
local_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
chroot_local_user=YES
guest_enable=YES
guest_username=virtual
virtual_use_local_privs=YES
allow_writeable_chroot=YES
local_root=/drives/500/users/$USER
user_sub_token=$USER

/etc/vsftpd/.passwd:

testuser:$1$uIAr3pIF$fE9cxUfUGxbcMTr5uSPjW.

/etc/pam.d/vsftpd

auth required pam_pwdfile.so pwdfile /etc/vsftpd/.passwd
account required pam_permit.so

Have anyone an idea? thanks in advance.

Offline

Board footer

Powered by FluxBB