Bug 2167373
| Summary: | There is no applicable rule to disconnect idle sessions after a certain time | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Vojtech Polasek <vpolasek> |
| Component: | scap-security-guide | Assignee: | Vojtech Polasek <vpolasek> |
| Status: | CLOSED MIGRATED | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | Jan Fiala <jafiala> |
| Priority: | unspecified | ||
| Version: | 8.6 | CC: | ggasparb, jafiala, matyc, mhaicman, mlysonek, wsato |
| Target Milestone: | rc | Keywords: | MigratedToJIRA, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: |
.`scap-security-guide` cannot configure termination of idle sessions
Even though the `sshd_set_idle_timeout` rule still exists in the data stream, the former method for idle session timeout of configuring `sshd` is no longer available. Therefore, the rule is marked as `not applicable` and cannot harden anything. Other methods for configuring idle session termination, such as `systemd` (Logind), are also not available. As a consequence, `scap-security-guide` cannot configure the system to reliably disconnect idle sessions after a certain amount of time.
You can work around this problem in one of the following ways, which might fulfill the security requirement:
* Configuring the `accounts_tmout` rule. However, this variable could be overridden by using the `exec` command.
* Configuring the `configure_tmux_lock_after_time` and `configure_bashrc_exec_tmux` rules. This requires installing the `tmux` package.
* Upgrading to RHEL 8.7 or later where the `systemd` feature is already implemented together with the proper SCAP rule.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-30 16:56:43 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: | |||
|
Comment 4
RHEL Program Management
2023-08-30 15:57:55 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. Users watching this BZ may not be automatically added to the Jira ticket. Be sure to add yourself to the Watchers field in the Jira issue if you desire to continue following this issue. |