UCF STIG Viewer Logo

The Photon operating system must set a session inactivity timeout of 15 minutes or less.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239077 PHTN-67-000005 SV-239077r675039_rule Medium
Description
A session timeout is an action taken when a session goes idle for any reason. Rather than relying on the user to manually disconnect their session prior to going idle, the Photon operating system must be able to identify when a session has idled and take action to terminate the session. Satisfies: SRG-OS-000029-GPOS-00010, SRG-OS-000126-GPOS-00066, SRG-OS-000279-GPOS-00109
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-06-17

Details

Check Text ( C-42288r675037_chk )
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.
Fix Text (F-42247r675038_fix)
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