Bug 71040

Summary: Please add 'pam-access.so' to /etc/pam.d/system-auth
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: authconfigAssignee: Tomas Mraz <tmraz>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-03 08:12:32 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 Enrico Scholz 2002-08-08 03:43:55 UTC
Description of Problem:

Please add a line like

| account     required      /lib/security/pam_access.so

to /etc/pam.d/system-auth. Often, pam_access is the only way to restrict usage
of services (e.g. to prevent some users to login at a nss_ldap enabled system).

I could add it manually to each file in /etc/pam.d, but this is a little bit
impractically and error prone. Because authconfig will remove it from
'system-auth' it is nearly impossible for a user to enable it. 

Therefore, 'authconfig' should add it automatically.



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

authconfig-4.2.10-3

Comment 1 Tomas Mraz 2005-09-08 13:46:06 UTC
I will consider this.

Comment 2 Tomas Mraz 2006-05-03 08:12:32 UTC
You can point the /etc/pam.d/system-auth symlink to /etc/pam.d/system-auth-local
and make it contain:
auth            include         system-auth-ac
account         include         system-auth-ac
password        include         system-auth-ac
session         include         system-auth-ac

Then you can modify this file to call pam_access.