1.252 RHEL-09-271085

Information

RHEL 9 must conceal, via the session lock, information previously visible on the display with a publicly viewable image.

GROUP ID: V-258027
RULE ID: SV-258027r1045106

Setting the screensaver mode to blank-only conceals the contents of the display from passersby.

Solution

Configure RHEL 9 to prevent a user from overriding the picture-uri setting for graphical user interfaces.

In the file "/etc/dconf/db/local.d/00-security-settings", add or update the following lines:

[org/gnome/desktop/screensaver]
picture-uri=''

Prevent user modification by adding the following line to "/etc/dconf/db/local.d/locks/00-security-settings-lock":

/org/gnome/desktop/screensaver/picture-uri

Update the dconf system databases:

$ sudo dconf update

See Also

https://workbench.cisecurity.org/benchmarks/22008