Bug 191149

Summary: configure pam for netgroups
Product: [Fedora] Fedora Reporter: M.T <tmaria>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-09 11:14:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description M.T 2006-05-09 08:57:40 UTC
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:

Comment 1 Tomas Mraz 2006-05-09 11:14:41 UTC
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?