I am attempting to configure vsftp to use PAM to authenticate virtual users on my Arch server. It seems so straight forward, I must be missing something simple.Configurationlocal user virtualftp in group virtualftpfolders /srv/ftp and /srv/ftp/test1 owned by virtualftp:virtualftpPAM user test1 password test1p in /etc/vsftpd_login.db/etc/pam.d/vsftpdauth required pam_userdb.so db=/etc/vsftpd_login crypt=hashaccount required pam_userdb.so db=/etc/vsftpd_login crypt=hashsession required pam_loginuid.so/etc/vsftp.confanonymous_enable=NOlocal_enable=YESwrite_enable=YESlocal_umask=022dirmessage_enable=YESxferlog_enable=YESconnect_from_port_20=YESftpd_banner=Welcome to MCID's FTP server.chroot_local_user=YESchroot_list_enable=YESchroot_list_file=/etc/vsftpd.chroot_listlisten=YES# nopriv_user=virtualftp# SSL Configuration# ssl_enable=YES# allow_anon_ssl=NO# force_local_data_ssl=NO# force_local_logins_ssl=YES# ssl_tlsv1=YES# ssl_sslv2=YES# ssl_sslv3=YES# rsa_cert_file=/etc/ssl/certs/vsftpd.pem# rsa_private_key_file=/etc/ssl/certs/vsftpd.pem# Passive Port Rangepasv_min_port=49152pasv_max_port=65534# Added settings for PAM virtualftp loginspam_service_name=vsftpdguest_enable=YESguest_username=virtualftpvirtual_use_local_privs=YES# Private folders for virtual userslocal_root=/srv/ftp/$USERuser_sub_token=$USERCurrently I can login with sftp://theherk@sftp.example.com, my local user just fine. However, if I attempt to login with test1, I get permission denied. What am I missing or confused about?
VSFTP local user works, but PAM users Permission Denied
arch linux;pam;vsftpd