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 1502630 - inclusion of system-auth for session hooks missing in sudo PAM snippets
Summary: inclusion of system-auth for session hooks missing in sudo PAM snippets
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sudo
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Radovan Sroka
QA Contact: Patrik Kis
URL:
Whiteboard:
Depends On: 1034533
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-16 11:24 UTC by Andrey Bondarenko
Modified: 2018-10-30 11:09 UTC (History)
10 users (show)

Fixed In Version: sudo-1.8.23-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1034533
Environment:
Last Closed: 2018-10-30 11:09:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed patch (530 bytes, patch)
2018-01-25 13:22 UTC, Radovan Sroka
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:3199 0 None None None 2018-10-30 11:09:46 UTC

Description Andrey Bondarenko 2017-10-16 11:24:10 UTC
+++ This bug was initially created as a clone of Bug #1034533 +++

Much like /etc/pam.d/su and /etc/pam.d/su-l the PAM files for sudo (/etc/pam.d/sudo and /etc/pam.d/sudo-i) should include system-auth for the session hooks. i.e. a line like

session		include		system-auth

is missing from /etc/pam.d/sudo, and a line like

session         include         su

is missing from /etc/pam.d/sudo-i.

$ rpm -qf /etc/pam.d/sudo
sudo-1.8.8-1.fc20.x86_64

--- Additional comment from Fedora Update System on 2014-09-30 11:21:00 EDT ---

sudo-1.8.11-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/sudo-1.8.11-1.fc20

--- Additional comment from Fedora Update System on 2014-10-01 00:22:28 EDT ---

Package sudo-1.8.11-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sudo-1.8.11-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-11928/sudo-1.8.11-1.fc20
then log in and leave karma (feedback).

--- Additional comment from Fedora Update System on 2014-11-03 09:27:21 EST ---

sudo-1.8.11p2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/sudo-1.8.11p2-1.fc20

--- Additional comment from lnie on 2014-11-04 03:03:02 EST ---

sudo-1.8.11p2-1.fc20 works

--- Additional comment from Fedora Update System on 2015-02-18 05:20:25 EST ---

sudo-1.8.12-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/sudo-1.8.12-1.fc20

--- Additional comment from Fedora Update System on 2015-02-23 18:24:53 EST ---

sudo-1.8.12-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 2 Radovan Sroka 2018-01-25 13:22:49 UTC
Created attachment 1386072 [details]
proposed patch

needs review

Comment 8 errata-xmlrpc 2018-10-30 11:09:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:3199


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