Bug 1702712
Summary: | pam_env bypassed for root user when using su | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Chris Cheney <ccheney> | |
Component: | util-linux | Assignee: | Karel Zak <kzak> | |
Status: | CLOSED ERRATA | QA Contact: | Radka Brychtova <rskvaril> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 8.0 | CC: | tmraz | |
Target Milestone: | rc | |||
Target Release: | 8.1 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | util-linux-2.32.1-10.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2000137 (view as bug list) | Environment: | ||
Last Closed: | 2019-11-05 22:26:57 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2000137 |
Description
Chris Cheney
2019-04-24 14:27:12 UTC
I have doubts that RHEL-7 update is the right place for the change. You can solve the problem locally for example by "session required pam_env.so" For RHEL it will be better do the change in RHEL-8.1 and Fedora. CC: Tomas (PAM maintainer) The first possibility is to add pam_env to the session, or another way is to add pam_env to auth before pam_rootok. It seems safe to call pam_env more than once and more easy than try to be smart with pam_succeed_if.so :-) Moving to RHEL-8.1. 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/RHBA-2019:3603 |