UBTU-18-010402 - The Ubuntu operating system must initiate a session lock after a 15-minute period of inactivity for all connection types.

Information

A session time-out lock is a temporary action taken when a user stops work and moves away from the immediate physical vicinity of the information system but does not log out because of the temporary nature of the absence. Rather than relying on the user to manually lock their operating system session prior to vacating the vicinity, the Ubuntu operating system need to be able to identify when a user's session has idled and take action to initiate the session lock.

The session lock is implemented at the point where session activity can be determined and/or controlled.

Solution

Configure the Ubuntu operating system to initiate a session logout after a 15-minute period of inactivity.

Create a file to contain the system-wide session auto logout script (if it does not already exist) with the following command:

# sudo touch /etc/profile.d/autologout.sh

Add the following lines to the '/etc/profile.d/autologout.sh' script:

TMOUT=900
readonly TMOUT
export TMOUT

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_18-04_LTS_V2R15_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-11a., CAT|II, CCI|CCI-000057, Rule-ID|SV-219303r958402_rule, STIG-ID|UBTU-18-010402, STIG-Legacy|SV-109933, STIG-Legacy|V-100829, Vuln-ID|V-219303

Plugin: Unix

Control ID: ee95c1efd729cb83a3080cf6e3edaa7913b51e5497ecce114bc373ed50984d92