BaselineWatch
Desk

RHEL-10-700800 RHEL 10 must ensure effective dconf policy matches the policy keyfiles.

DISA STIG library V1R3
All changes in this version
first version loaded CAT II

Maps to AC-3 via CCI-000213

Title

RHEL 10 must ensure effective dconf policy matches the policy keyfiles.

Control

Note: This requirement assumes the use of the RHEL 10 default graphical user interface, the GNOME desktop environment. If the system does not have any graphical user interface installed, this requirement is not applicable. Verify RHEL 10 ensures effective dconf policy matches the policy keyfiles. Check the last modification time of the local databases, comparing it to the last modification time of the related keyfiles. The following command will check every dconf database and compare its modification time to the related system keyfiles: $ function dconf_needs_update { for db in $(find /etc/dconf/db -maxdepth 1 -type f); do db_mtime=$(stat -c %Y "$db"); keyfile_mtime=$(stat -c %Y "$db".d/* | sort -n | tail -1); if [ -n "$db_mtime" ] && [ -n "$keyfile_mtime" ] && [ "$db_mtime" -lt "$keyfile_mtime" ]; then echo "$db needs update"; return 1; fi; done; }; dconf_needs_update If the command has any output, then a dconf database needs to be updated, and this is a finding.

Discussion

Unlike text-based keyfiles, the binary database is impossible to check through most automated and all manual means; therefore, to evaluate dconf configuration, both must be true at the same time. Configuration files must be compliant, and the database must be more recent than those keyfiles, which gives confidence that it reflects them.

Related controls

CCI-000213

Fix

Configure RHEL 10 to ensure that the effective dconf policy matches the policy keyfiles. Update the dconf databases by running the following command: $ sudo dconf update