SLES-15-010130 - The SUSE operating system must initiate a session lock after a 10-minute period of inactivity.

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 users to manually lock their SUSE operating system session prior to vacating the vicinity, the SUSE operating system needs 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 SUSE operating system to initiate a session lock after a 10-minute period of inactivity by modifying or creating (if it does not already exist) the '/etc/profile.d/autologout.sh' file and add the following lines to it:

TMOUT=600
readonly TMOUT
export TMOUT

Set the proper permissions for the '/etc/profile.d/autologout.sh' file with the following command:

> sudo chmod +x /etc/profile.d/autologout.sh

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SLES_15_V2R2_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-11a., CAT|II, CCI|CCI-000057, Rule-ID|SV-234813r1009561_rule, STIG-ID|SLES-15-010130, Vuln-ID|V-234813

Plugin: Unix

Control ID: 8d78923fa06f2bc620e3142b11f57051ae3b0d80a92b6f1caf230daff113b8bf