STIGQter STIGQter: STIG Summary: Riverbed NetIM OS Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 11 Sep 2025:

Ubuntu OS must automatically exit interactive command shell user sessions after five minutes of inactivity.

DISA Rule

SV-275643r1147979_rule

Vulnerability Number

V-275643

Group Title

SRG-OS-000279-GPOS-00109

Rule Version

RIIM-OS-412030

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure Ubuntu OS to exit interactive command shell user sessions after five minutes of inactivity.

Create and/or append a custom file under "/etc/profile.d/" by using the following command:

$ sudo su -c "echo TMOUT=300 >> /etc/profile.d/99-terminal_tmout.sh"

This will set a timeout value of five minutes for all future sessions.

To set the timeout for the current sessions, execute the following command over the terminal session:

$ export TMOUT=300

Check Contents

Verify Ubuntu OS is configured to automatically exit interactive command shell user sessions after five minutes of inactivity or less by using the following command:

$ sudo grep -E "\bTMOUT=[0-9]+" /etc/bash.bashrc /etc/profile.d/*
/etc/profile.d/99-terminal_tmout.sh:TMOUT=300

If "TMOUT" is not set to "300" or less, is set to "0", is commented out, or missing, this is a finding.

Vulnerability Number

V-275643

Documentable

False

Rule Version

RIIM-OS-412030

Severity Override Guidance

Verify Ubuntu OS is configured to automatically exit interactive command shell user sessions after five minutes of inactivity or less by using the following command:

$ sudo grep -E "\bTMOUT=[0-9]+" /etc/bash.bashrc /etc/profile.d/*
/etc/profile.d/99-terminal_tmout.sh:TMOUT=300

If "TMOUT" is not set to "300" or less, is set to "0", is commented out, or missing, this is a finding.

Check Content Reference

M

Target Key

5706