{"description": "If not already configured, ensure that users cannot change GNOME3 session idle settings\nby adding <tt>/org/gnome/desktop/session/idle-delay</tt>\nto <tt>/etc/dconf/db/local.d/locks/00-security-settings-lock</tt> to prevent user modification.\nFor example:\n<pre>/org/gnome/desktop/session/idle-delay</pre>\nAfter the settings have been set, run <tt>dconf update</tt>.", "rationale": "A session time-out lock is a temporary action taken when a user stops work and moves away from the immediate\nphysical vicinity of the information system but does not logout because of the temporary nature of the absence.\nRather than relying on the user to manually lock their operating system session prior to vacating the vicinity,\nGNOME desktops can be configured to identify when a user's session has idled and take action to initiate the\nsession lock. As such, users should not be allowed to change session settings.", "severity": "medium", "references": {"cis-csc": ["1", "12", "15", "16"], "cobit5": ["DSS05.04", "DSS05.10", "DSS06.10"], "cui": ["3.1.10"], "isa-62443-2009": ["4.3.3.6.1", "4.3.3.6.2", "4.3.3.6.3", "4.3.3.6.4", "4.3.3.6.5", "4.3.3.6.6", "4.3.3.6.7", "4.3.3.6.8", "4.3.3.6.9"], "isa-62443-2013": ["SR 1.1", "SR 1.10", "SR 1.2", "SR 1.5", "SR 1.7", "SR 1.8", "SR 1.9"], "iso27001-2013": ["A.18.1.4", "A.9.2.1", "A.9.2.4", "A.9.3.1", "A.9.4.2", "A.9.4.3"], "nist": ["CM-6(a)"], "nist-csf": ["PR.AC-7"], "pcidss": ["Req-8.1.8"], "srg": ["SRG-OS-000029-GPOS-00010", "SRG-OS-000031-GPOS-00012"], "pcidss4": ["8.2.8", "8.2"]}, "control_references": {"pcidss4": ["8.2.8", "8.2"]}, "components": [], "identifiers": {}, "ocil_clause": "idle-delay is not locked", "ocil": "To ensure that users cannot change session idle and lock settings, run the following:\n<pre>$ grep 'idle-delay' /etc/dconf/db/local.d/locks/*</pre>\nIf properly configured, the output should return:\n<tt>/org/gnome/desktop/session/idle-delay</tt>", "oval_external_content": null, "fixtext": "Configure the operating system to prevent a user from overriding settings for graphical user interfaces.\n\nCreate a database to contain the system-wide screensaver settings (if it does not already exist) with the following command:\n\nNote: 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.\n\n$ sudo touch /etc/dconf/db/local.d/locks/session\n\nAdd the following setting to prevent non-privileged users from modifying it:\n\n/org/gnome/desktop/session/idle-delay", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must prevent a user from overriding the session idle-delay setting for the graphical user interface.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must prevent a user from overriding the session idle-delay setting for the graphical user interface.", "vuldiscussion": "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 logout 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, the GNOME desktop can be configured to identify when a user's session has idled and take action to initiate the session lock. As such, users should not be allowed to change session settings.", "checktext": "Note: This requirement assumes the use of the Ubuntu 22.04 default graphical user interface, the GNOME desktop environment. If the system does not have any graphical user interface installed, this requirement is Not Applicable.\n\nVerify Ubuntu 22.04 prevents a user from overriding settings for graphical user interfaces.\n\n$ gsettings writable org.gnome.desktop.session idle-delay\n\nfalse\n\nIf \"idle-delay\" is writable and the result is \"true\", this is a finding.", "fixtext": "Configure Ubuntu 22.04 to prevent a user from overriding settings for graphical user interfaces.\n\nCreate a database to contain the systemwide screensaver settings (if it does not already exist) with the following command:\n\nNote: The example below is using the database \"local\" for the system. If the system is using another database in \"/etc/dconf/profile/user\", the file should be created under the appropriate subdirectory.\n\n$ sudo touch /etc/dconf/db/local.d/locks/session\n\nAdd the following setting to prevent nonprivileged users from modifying it:\n\n/org/gnome/desktop/session/idle-delay\n\nRun the following command to update the database:\n\n$ sudo dconf update"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["package[gdm]"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["package_gdm"], "bash_conditional": null, "fixes": {}, "title": "Ensure Users Cannot Change GNOME3 Session Idle Settings", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/gnome/gnome_screen_locking/dconf_gnome_session_idle_user_locks/rule.yml", "template": null}