Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 191149 - configure pam for netgroups
configure pam for netgroups
Product: Fedora
Classification: Fedora
Component: pam (Show other bugs)
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Depends On:
  Show dependency treegraph
Reported: 2006-05-09 04:57 EDT by M.T
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-09 07:14:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description M.T 2006-05-09 04:57:40 EDT
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
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:
May  9 10:05:28 thales sshd[9425]: Failed password for userxx from xxx.xx.xx.xxx
port 40612 ssh2

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Tomas Mraz 2006-05-09 07:14:41 EDT
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?

Note You need to log in before you can comment on or make changes to this bug.