FG
💻 Software

Why won't vsftpd let me log in with a virtual user account?

Fresh5 days ago
Mar 15, 202611841 views
Confidence Score0%
0%

Problem

I would like to use vsftpd with virtual users and pam_pwdfile.so. I installed vsftpd and added two users (ramon and dragon) via htpasswd to my file /etc/vsftpd.passwd. The /etc/pam.d/vsftpd is configured to use this file. The user "ramon" is also available in . A login to the ftp with the user "ram…

Error Output

auth  required        pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth    required pam_pwdfile.so pwdfile /etc/vsftpd.passw…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why won't vsftpd let me log in with a virtual user account?

Low Risk

I had the same problem, but this thread helped. Apparently vsftpd has problems with MD5 hashes. When I instructed htpasswd to use crypt() (the -d option), it suddenly worked:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment