Description of problem: WE have set-up a linux server with FC5, (64bit), here in our department. We run also nis, and we need to set-up the linux server, so as only certain nis netgroups, have access on it. I have configure the /etc/pam.d/sshd with account required /lib/security/pam_access.so and also I add the following to /etc/security/access.conf -:ALL EXCEPT @RESEARCH:ALL , since I need to give access through ssh, only to netgroup RESEARCH. When I try to login with an account that belongs to group RESEARCH, i got the following: May 9 10:05:26 thales sshd[9425]: PAM unable to dlopen(/lib/security/pam_access.so) May 9 10:05:26 thales sshd[9425]: PAM [error: /lib/security/pam_access.so: wrong ELF class: ELFCLASS32] May 9 10:05:26 thales sshd[9425]: PAM adding faulty module: /lib/security/pam_access.so May 9 10:05:28 thales sshd[9425]: Failed password for userxx from xxx.xx.xx.xxx port 40612 ssh2 M Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is a misconfiguration or broken installation. First you shouldn't use absolute paths to modules (simple pam_access.so should be enough) as that will make problems on multilib systems such as ia64 or x86_64. Also what prints rpm -V pam?