RHEL 8 STIG Version Comparison
Red Hat Enterprise Linux 8 Security Technical Implementation Guide
Comparison
There are 14 differences between versions v1 r10 (April 27, 2023) (the "left" version) and v1 r12 (Oct. 25, 2023) (the "right" version).
Check RHEL-08-020035 was added to the benchmark in the "right" version.
This check's original form is available here.
Text Differences
Title
RHEL 8 must terminate idle user sessions.
Check Content
Verify that RHEL 8 logs out sessions that are idle for 15 minutes with the following command: $ sudo grep -i ^StopIdleSessionSec /etc/systemd/logind.conf StopIdleSessionSec=900 If "StopIdleSessionSec" is not configured to "900" seconds, this is a finding.
Discussion
Terminating an idle session within a short time period reduces the window of opportunity for unauthorized personnel to take control of a management session enabled on the console or console port that has been left unattended.
Fix
Configure RHEL 8 to log out idle sessions by editing the /etc/systemd/logind.conf file with the following line: StopIdleSessionSec=900 The "logind" service must be restarted for the changes to take effect. To restart the "logind" service, run the following command: $ sudo systemctl restart systemd-logind Note: To preserve running user programs such as tmux, uncomment and/or edit "KillUserProccesses=no" in "/etc/systemd/logind.conf".