SV-239077r675039_rule
V-239077
SRG-OS-000029-GPOS-00010
PHTN-67-000005
CAT II
10
Open /etc/profile.d/tmout.sh with a text editor and set its content to the following:
TMOUT=900
readonly TMOUT
export TMOUT
mesg n 2>/dev/null
At the command line, execute the following command:
# cat /etc/profile.d/tmout.sh
Expected result:
TMOUT=900
readonly TMOUT
export TMOUT
mesg n 2>/dev/null
If the file "tmout.sh" does not exist or the output does not look like the expected result, this is a finding.
V-239077
False
PHTN-67-000005
At the command line, execute the following command:
# cat /etc/profile.d/tmout.sh
Expected result:
TMOUT=900
readonly TMOUT
export TMOUT
mesg n 2>/dev/null
If the file "tmout.sh" does not exist or the output does not look like the expected result, this is a finding.
M
5323