Bug 2064696
| Summary: | The /etc/tmux.conf file created has root 600 permissions, which delays the user login | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Welterlen Benoit <bwelterl> |
| Component: | scap-security-guide | Assignee: | Vojtech Polasek <vpolasek> |
| Status: | CLOSED ERRATA | QA Contact: | Milan Lysonek <mlysonek> |
| Severity: | medium | Docs Contact: | Jan Fiala <jafiala> |
| Priority: | unspecified | ||
| Version: | 8.5 | CC: | ggasparb, jafiala, jcerny, matyc, mburket, mhaicman, mlysonek, vpolasek, wsato |
| Target Milestone: | rc | Keywords: | AutoVerified, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | scap-security-guide-0.1.63-1.el8 | Doc Type: | Bug Fix |
| Doc Text: |
.OpenSCAP remediation sets correct permissions for `/etc/tmux.conf`
Previously, when remediating the SCAP rule `configure_tmux_lock_after_time`, the `/etc/tmux.conf` file was created with permissions respecting umask (600). This caused `/etc/tmux.conf` to be unreadable by regular users. If a regular user logged in, they received an error message and had to wait for several minutes before a timeout ran out and they were logged in. With this update, the remediation of rule `configure_tmux_lock_after_time` sets specific permissions of `/etc/tmux.conf` to 644. As a result, regular users no longer encounter the error message or login delay.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-08 09:39:56 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: | |||
|
Description
Welterlen Benoit
2022-03-16 11:15:08 UTC
PR has been opened in upstream https://github.com/ComplianceAsCode/content/pull/9080 The PR https://github.com/ComplianceAsCode/content/pull/9080 has been merged upstream. 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 (scap-security-guide bug fix and enhancement update), 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-2022:7563 |