We just upgraded Ubuntu Server 10.10 to 11.04. After this upgrade, it seems Vsftpd with pam_userdb logins no longer work. I was investigating this and it seems /lib/security/pam_userdb.so is missing.
This is very strange, and even if I do sudo apt-get install --reinstall libpam-modules
it is still missing.
Any idea what is going on? Is this a known bug or is there something wrong on our end?
P.S. Vsftpd with userdb logins was working fine with at least 3 previous versions of Ubuntu, now this 11.04 upgrade seems to have broken it.
Best Answer
packages.u.c tells us that
pam_userdb.so
exists inlibpam-modules
in architecture dependent paths. As a quick workaround, you can install a compatibility symlink:To solve the problem for real, you need to determine why vsftpd/pam uses the wrong path to lookup the modules. Check for non-upgraded packages or hung processes first. Since all modules in
libpam-modules
are located in the arch-specific directory I would point to vsftpd in the first place, since other parts of your system seem to work fine with the new location.P.S.: Don't forget to remove the symlink if you don't need it anymore.