SV-221841r646958_rule
V-221841
SRG-OS-000163-GPOS-00072
OL07-00-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-221841
False
OL07-00-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
4089