SV-204579r646844_rule
V-204579
SRG-OS-000163-GPOS-00072
RHEL-07-040160
CAT II
10
Configure the operating system to terminate all network connections associated with a communications session at the end of the session or after a period of inactivity.
Create a script to enforce the inactivity timeout (for example /etc/profile.d/tmout.sh) such as:
#!/bin/bash
declare -xr TMOUT=900
Verify the operating system terminates all network connections associated with a communications session at the end of the session or based on inactivity.
Check the value of the system inactivity timeout with the following command:
# grep -i tmout /etc/profile.d/*
etc/profile.d/tmout.sh:declare -xr TMOUT=900
If "TMOUT" is not set to "900" or less in a script located in the /etc/profile.d/ directory to enforce session termination after inactivity, this is a finding.
V-204579
False
RHEL-07-040160
Verify the operating system terminates all network connections associated with a communications session at the end of the session or based on inactivity.
Check the value of the system inactivity timeout with the following command:
# grep -i tmout /etc/profile.d/*
etc/profile.d/tmout.sh:declare -xr TMOUT=900
If "TMOUT" is not set to "900" or less in a script located in the /etc/profile.d/ directory to enforce session termination after inactivity, this is a finding.
M
2899