Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Ubuntu 20.04
System Settings
Account and Access Control
Secure Session Configuration Files for Login Accounts
Set Interactive Session Timeout
Set Interactive Session Timeout
An XCCDF Rule
Details
Profiles
Prose
Set Interactive Session Timeout
Medium Severity
Setting the
TMOUT
option in
/etc/profile
ensures that all user sessions will terminate based on inactivity. The value of TMOUT should be exported and read only. The
TMOUT
setting in a file loaded by
/etc/profile
, e.g.
/etc/profile.d/tmout.sh
should read as follows:
TMOUT=
readonly TMOUT export TMOUT