Resolve VSFTP local users can not authenticate login problems

  

Description of the problem: VSFTP has been set up but local users can not log in.

useradd -d /data/ftp/chanpin -s /sbin/nologin chanpin

Problem solving:

1, need to add this in the configuration file: vsftpd.conf parameter.

local_enable=YES

pam_service_name=vsftpd

2, need to have vsftpd authentication file in /etc/pam.d/vsftpd, this file can be copied from the source package

cp RedHat/vsftpd.pam /etc/vsftpd

3, use PAM to verify run ldd /usr/local/sbin/vsftpd to see if you call pam

Copyright © Windows knowledge All Rights Reserved