RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1334138 - listsep=, breaks pam_access.so
Summary: listsep=, breaks pam_access.so
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pam
Version: 7.4
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On: 201008
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-09 01:55 UTC by Eugene Kanter
Modified: 2016-05-09 07:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 201008
Environment:
Last Closed: 2016-05-09 07:17:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eugene Kanter 2016-05-09 01:55:35 UTC
+++ This bug was initially created as a clone of Bug #201008 +++

+++ This bug was initially created as a clone of Bug #132135 +++



Steps to reproduce in basic pam_access.so configuration.

1. insert
account     required      pam_access.so
above
account     required      pam_unix.so
in 
/etc/pam.d/password-auth-ac
/etc/pam.d/system-auth-ac

2. add lines
+ : root : ALL
- : ALL : ALL
to /etc/security/access.conf

3. verify that no login other then root is accepted.
4. append option listsep=, after pam_access.so as described in Bug #201008
5. verify that access rules are ignored and any valid user can now login.


pam_access.so configuration reference https://access.redhat.com/solutions/70472

Comment 2 Tomas Mraz 2016-05-09 07:17:37 UTC
Your configuration is incorrect. If you use different listsep than default you have to ensure that there are no spaces around the ':' field separator character. Note that the configuration in bug 201008 does not have any spaces there.


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