Ensure overriding the screensaver lock-delay setting is prevented


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


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, operating systems 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.


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 delay:



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-73155

Rule ID: SV-87807r4_rule

STIG ID: RHEL-07-010081

Severity: CAT II

See Also


Item Details


References: 800-53|AC-11a.

Plugin: Unix

Control ID: edc802f8c953e2e006c586c786c8dcfb664a5194c040534522c2ccfa3eced001