Description of problem: Version-Release number of selected component (if applicable): pam-0.77-66.17 vsftpd-2.0.1-5.EL4.5 How reproducible: Steps to Reproduce: 1. modify vsftpd.conf file to include: pam_service_name=vsftpd.pam 2. create vsftpd.pam file, containing: #%PAM-1.0 auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login account required /lib/security/pam_userdb.so db=/etc/vsftpd_login 3. reload vsftpd.conf file (by restarting vsftpd) 4. login to ftp user test user account 5. Errors in log file: Sep 12 15:40:34 host_a vsftpd[24026]: PAM unable to dlopen(/lib/security/pam_userdb.so) Sep 12 15:40:34 host_a vsftpd[24026]: PAM [dlerror: /lib/security/pam_userdb.so: cannot open shared object file: No such file or directory] Sep 12 15:40:34 host_a vsftpd[24026]: PAM adding faulty module: /lib/security/pam_userdb.so *Actual results: -login failure *Expected results: -login success Additional info: n/a
Step 1a. db41_load -T -t hash -f logins.txt /etc/vsftpd_login.db
That's because the PAM configuration file should not contain paths to modules, just their file names. The errors clearly state that there is no such file /lib/security/pam_userdb.so.