Red Hat Bugzilla – Bug 191149
configure pam for netgroups
Last modified: 2007-11-30 17:11:32 EST
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
When I try to login with an account that belongs to group RESEARCH, i got the
May 9 10:05:26 thales sshd: PAM unable to dlopen(/lib/security/pam_access.so)
May 9 10:05:26 thales sshd: PAM [error: /lib/security/pam_access.so:
wrong ELF class: ELFCLASS32]
May 9 10:05:26 thales sshd: PAM adding faulty module:
May 9 10:05:28 thales sshd: Failed password for userxx from xxx.xx.xx.xxx
port 40612 ssh2
Version-Release number of selected component (if applicable):
Steps to Reproduce:
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?