RHEL-09-271075 - RHEL 9 must initiate a session lock for graphical user interfaces when the screensaver is activated.

Information

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 logout because of the temporary nature of the absence.

Solution

Configure RHEL 9 to initiate a session lock for graphical user interfaces when a screensaver is activated.

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.

$ sudo touch /etc/dconf/db/local.d/00-screensaver

[org/gnome/desktop/screensaver]
lock-delay=uint32 5

The 'uint32' must be included along with the integer key values as shown.

Update the system databases:

$ sudo dconf update

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-11a., CAT|II, CCI|CCI-000057, Rule-ID|SV-258025r958402_rule, STIG-ID|RHEL-09-271075, Vuln-ID|V-258025

Plugin: Unix

Control ID: 25e6a2d03f359ca7446578489e23a3d2aa46551523d4d898712ca4110a8419e4