Ensure screensaver lock-enabled is set.


The operating system must prevent a user from overriding the screensaver lock-enabled setting for the graphical user interface.


A session 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 want to log out because of the temporary nature of the absence.

The session lock is implemented at the point where session activity can be determined.

The ability to enable/disable a session lock is given to the user by default. Disabling the user's ability to disengage the graphical user interface session lock provides the assurance that all sessions will lock after the specified period of time.


Configure the operating system to prevent a user from overriding a screensaver lock after a 15-minute period of inactivity for graphical user interfaces.
Create a database to contain the system-wide screensaver settings (if it does not already exist) with the following command:
Note: The example below is using the database local for the system, so if the system is using another database in /etc/dconf/profile/user, the file should be created under the appropriate subdirectory.

# touch /etc/dconf/db/local.d/locks/session

Add the setting to lock the screensaver lock-enabled setting:



This Benchmark recommendation maps to:

Red Hat Enterprise Linux 7 Security Technical Implementation Guide:

Version 2, Release: 3 Benchmark Date: 26 Apr 2019

Vul ID: V-78995

Rule ID: SV-93701r2_rule

STIG ID: RHEL-07-010062

Severity: CAT II

See Also


Item Details


References: 800-53|AC-11a.

Plugin: Unix

Control ID: a1d0b9a73eab20f6c1c8d527fe1405beb7b45bb8c4ec65d7827e82595682e729