Login fails for non-root users with error message "passwd: PAM unable to dlopen(/lib/security/pam_tally.so)

Solution Verified - Updated -

Issue

  • Installed new RHEL 5.5 64 bit machines via kickstart file used for other 32-bit installs. After installation on 64 bit machines normal users are unable to login and these messages are reported in /var/log/secure
passwd: PAM unable to dlopen(/lib/security/pam_tally.so)  
Jun 23 13:06:47 hostname1 passwd: PAM [error: /lib/security/pam_tally.so: wrong ELF class: ELFCLASS32]
  • pam_tally entries in /etc/pam.d/system-auth file
auth          required        /lib/security/pam\_tally.so onerr=fail no_magic_root  
account    required        /lib/security/pam\_tally.so deny=3 reset no_magic_root per_user

Environment

  • Red Hat Enterprise Linux 5 (x86_64)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.