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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content