Your message dated Thu, 25 Jun 2026 15:40:06 +0000
with message-id <[email protected]>
and subject line Bug#885402: fixed in vsftpd 3.0.5-1
has caused the Debian Bug report #885402,
regarding vsftpd: 530 Login incorrect. PAM adding faulty module:
/lib/security/pam_userdb.so
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
885402: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885402
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vsftpd
Version: 3.0.3-8+b1
Severity: normal
The documentation in /usr/share/doc/vsftpd/examples/VIRTUAL_USERS/README.gz and
/usr/share/doc/vsftpd/examples/VIRTUAL_USERS/vsftpd.pam states that we should
have the following in /etc/pam.d/ftp:
auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login
account required /lib/security/pam_userdb.so db=/etc/vsftpd_login
But when logging in to ftp this results in a login failure:
$ ftp localhost
Connected to localhost.
220 (vsFTPd 3.0.3)
Name (localhost:nick): username
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp> exit
221 Goodbye.
Logging in twice produces the following status:
$ sudo service vsftpd status
● vsftpd.service - vsftpd FTP server
Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset:
enabled)
Active: active (running) since Tue 2017-12-26 18:03:53 UTC; 2min 4s ago
Process: 12947 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (code=exited,
status=0/SUCCESS)
Main PID: 12950 (vsftpd)
Tasks: 1 (limit: 19660)
CGroup: /system.slice/vsftpd.service
└─12950 /usr/sbin/vsftpd /etc/vsftpd.conf
Dec 26 18:03:53 hostname Dec 26 18:03:53 hostname systemd[1]: Starting vsftpd
FTP server...
Dec 26 18:03:53 hostname systemd[1]: Started vsftpd FTP server.
Dec 26 18:04:03 hostname vsftpd[12961]: PAM unable to
dlopen(/lib/security/pam_userdb.so): /lib/security/pam_userdb.so: cannot open sh
Dec 26 18:04:03 hostname vsftpd[12961]: PAM adding faulty module:
/lib/security/pam_userdb.so
Dec 26 18:05:03 hostname vsftpd[12979]: PAM unable to
dlopen(/lib/security/pam_userdb.so): /lib/security/pam_userdb.so: cannot open sh
Dec 26 18:05:03 hostname vsftpd[12979]: PAM adding faulty module:
/lib/security/pam_userdb.so
Replacing the paths with names to modules in the ftp file as suggested at
https://bugzilla.redhat.com/show_bug.cgi?id=206216#c2 fixes the issue:
auth required pam_userdb.so db=/etc/vsftpd_login
account required pam_userdb.so db=/etc/vsftpd_login
I think the documentation should be updated at both places with the new ftp
file.
-- System Information:
Debian Release: 9.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages vsftpd depends on:
ii adduser 3.115
ii debconf [debconf-2.0] 1.5.61
ii init-system-helpers 1.48
ii libc6 2.24-11+deb9u1
ii libcap2 1:2.25-1
ii libpam-modules 1.1.8-3.6
ii libpam0g 1.1.8-3.6
ii libssl1.1 1.1.0f-3+deb9u1
ii libwrap0 7.6.q-26
ii netbase 5.4
Versions of packages vsftpd recommends:
ii logrotate 3.11.0-0.1
ii ssl-cert 1.0.39
vsftpd suggests no packages.
-- Configuration Files:
/etc/vsftpd.conf changed:
listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
anon_upload_enable=NO
anon_mkdir_write_enable=NO
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
local_root=/var/www
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=ftp
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=NO
guest_enable=YES
guest_username=virtual
-- debconf information:
vsftpd/username: ftp
vsftpd/directory: /srv/ftp
--- End Message ---
--- Begin Message ---
Source: vsftpd
Source-Version: 3.0.5-1
Done: Keng-Yu Lin <[email protected]>
We believe that the bug you reported is fixed in the latest version of
vsftpd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Keng-Yu Lin <[email protected]> (supplier of updated vsftpd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 25 Jun 2026 22:40:00 +0800
Source: vsftpd
Built-For-Profiles: noudeb
Architecture: source
Version: 3.0.5-1
Distribution: unstable
Urgency: medium
Maintainer: Keng-Yu Lin <[email protected]>
Changed-By: Keng-Yu Lin <[email protected]>
Closes: 644920 825271 827550 838678 844297 885402 929958 950577 950584 952421
958469 961712 968888 973766 1012476
Changes:
vsftpd (3.0.5-1) unstable; urgency=medium
.
* Add debian/patches/0079-debian-bugfixes.patch to address multiple bugs:
- Return 502 Command not implemented instead of 550 for disabled
PASV/PORT commands (Closes: #1012476).
- Document the Debian-specific utf8_filesystem option in the
man page (Closes: #950577).
- Trim leading and trailing whitespace/tabs in vsftpd.conf parsing
to prevent startup failures due to extra spaces (Closes: #950584).
- Dynamically fall back to IPv4 listening if IPv6 is disabled in
the kernel, avoiding package installation and daemon startup
failures (Closes: #961712).
* Add debian/patches/0080-pam-exec-hang.patch to prevent hanging in
the SIGCHLD handler when using PAM modules that spawn subprocesses,
e.g. pam_exec (Closes: #952421, #827550).
* Add debian/patches/0081-pasv-address-ipv6.patch to fix pasv_address
being ignored when listen_ipv6 is enabled and clients connect
via IPv4 (Closes: #968888).
* Add debian/patches/0082-debian-bugfixes-tls-utf8.patch to fix:
- Cap TLS 1.3 session ticket lifetime at 7 days (604800s) instead
of INT_MAX to comply with RFC 8446, preventing connection drops on
both control and data channels (Closes: #929958, #958469).
- Allow UTF-8 characters (high bytes >= 128) in logs and fix 177
typo in printability check (Closes: #644920).
- Fix assignment typo in vsf_sysutil_realpath causing double slashes
when resolving paths under the root directory (Closes: #825271).
- Remove obsolete absolute paths to pam_userdb.so in virtual users
examples (Closes: #885402).
* Move adduser from Recommends to Depends to satisfy postinst script.
* Officially close historically resolved/satisfied bugs that were left
open in the Debian Bug Tracking System (Closes: #838678, #844297, #973766).
Checksums-Sha1:
e89a4181f761a4c2ab46650e236eebec5b2a2fa4 1979 vsftpd_3.0.5-1.dsc
6032bde540e8463743db9c38fba3a9cc2a584509 40932 vsftpd_3.0.5-1.debian.tar.xz
41a2d3204773be4132348141d58f877b958cc5a5 7662 vsftpd_3.0.5-1_source.buildinfo
Checksums-Sha256:
b7d0b80446298de719b9c75480454ea4d0fe80f487684c7df8d1f0c71d2a055e 1979
vsftpd_3.0.5-1.dsc
4f24fdf374d2ff2bb0a749ef3a6db110ca3a30577c053a7ffaa902d882b2c843 40932
vsftpd_3.0.5-1.debian.tar.xz
f1b81ef09409584caa63d48ecd019889e34d6cb26f28ac1725ecad328a655d35 7662
vsftpd_3.0.5-1_source.buildinfo
Files:
1535e6c2a8445e6a8306b294975b42a7 1979 net - vsftpd_3.0.5-1.dsc
f23c7fde59435c896033cc7d9fa24b3f 40932 net - vsftpd_3.0.5-1.debian.tar.xz
ccc1766c8c9970127a3c28aad71a0eb8 7662 net - vsftpd_3.0.5-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEdwtc2/tLhothQ0hFxheGnxR4UE4FAmo9RpoSHGtlbmd5dUBk
ZWJpYW4ub3JnAAoJEMYXhp8UeFBOBZoQAJgA0vT6Cy/3UEQftfU3aMmIl5xAoNxj
nbB64UaCtToVZiu1LMD36RpzRAf82aaO1MyGXkg4YkaR1DQWkvmmLEKn9vN2BgqQ
Z+TPEOKYSfum5BbfTpWI0OKEAzt6TgtcV12q6SdSZbDT7qlUQDKxZicojKXePCCN
gdH7PetlN4+w6c4czyYl+Vg5aSPv7qqrvroK6FONz5Q90B6kj+1wdvL3jjkhTYgr
1uIlmR9hLVsI/ab6OmHbtn7VjlO1XKE2NMrGr+NcCPFmSjVU1dUmcY+0pdojB8y7
u+vm0CT4KXI46RGUSTkrVKvibo/jdtrRG9WYKLN6sTMa69k310LUvZwuVaMT8kuJ
k9VvVWrHL83f9vjAPkXck722caYQ2QTzkcMQVFWts4WTFTktAHyPaLA+w3OXKiys
thpp5H7uBWLQukg7x4TivFt3nDB2RifqJFjQUcNpfKFkvsmafhZbkE48Zh1sJDSX
wjeib4h5sMii899gmTFkPDzyPQdxULey2q1URR3sNY/8uYLb2LHEy0WFR5unoTpz
ezkUbdgiFkeZOemZBoIgf7OBjWgpXsxZtsYS4JhP1S7Y0ZJdVfk/HyMqot98ht8Y
rO45bkeFIh4+VB4FQobA9HaZiMrcK+P9yLVQZi+tiJdecH2nLF9+4ZJbMcRRu0qN
9N9M8AKNBI11
=V8J2
-----END PGP SIGNATURE-----
pgpGKuPAWM3qC.pgp
Description: PGP signature
--- End Message ---