SV-99017r1_rule
V-88367
SRG-OS-000029-GPOS-00010
VROM-SL-000050
CAT II
10
Ensure the file exists and is owned by root. If the files does not exist, use the following commands to create the file:
# touch /etc/profile.d/tmout.sh
# chown root:root /etc/profile.d/tmout.sh
# chmod 644 /etc/profile.d/tmout.sh
Edit the file "/etc/profile.d/tmout.sh", and add the following lines:
TMOUT=900
readonly TMOUT
export TMOUT
mesg n 2>/dev/null
Check for the existence of the /etc/profile.d/tmout.sh file:
# ls -al /etc/profile.d/tmout.sh
Check for the presence of the "TMOUT" variable:
# grep TMOUT /etc/profile.d/tmout.sh
The value of "TMOUT" should be set to 900 seconds (15 minutes).
If the file does not exist, or the "TMOUT" variable is not set, this is a finding.
V-88367
False
VROM-SL-000050
Check for the existence of the /etc/profile.d/tmout.sh file:
# ls -al /etc/profile.d/tmout.sh
Check for the presence of the "TMOUT" variable:
# grep TMOUT /etc/profile.d/tmout.sh
The value of "TMOUT" should be set to 900 seconds (15 minutes).
If the file does not exist, or the "TMOUT" variable is not set, this is a finding.
M
3461