PHTN-67-000054 - The Photon operating system must set an inactivity timeout value for non-interactive sessions - export

Information

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.

Solution

Open /etc/bash.bashrc with a text editor and add the following to the end:

TMOUT=900
readonly TMOUT
export TMOUT

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y22M10_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002361, Rule-ID|SV-239125r856043_rule, STIG-ID|PHTN-67-000054, Vuln-ID|V-239125

Plugin: Unix

Control ID: 83bb98b7b8328f2db5d27542a258c0ddefe5f0403ae01265bf6b93be76f1feed