Bug 71040 - Please add 'pam-access.so' to /etc/pam.d/system-auth
Summary: Please add 'pam-access.so' to /etc/pam.d/system-auth
Alias: None
Product: Fedora
Classification: Fedora
Component: authconfig (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: i386 Linux
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2002-08-08 03:43 UTC by Enrico Scholz
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-03 08:12:32 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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):


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.

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