{"description": " To properly set the permissions of <code>/etc/sestatus.conf</code>, run the command: <pre>$ sudo chmod 0644 /etc/sestatus.conf</pre>", "rationale": "Setting correct permissions on the /etc/sestatus.conf file is important\nbecause this file hosts SELinux configuration. Protection of this\nfile is critical for system security. Restricting the permissions\nensures exclusive control of the SELinux configuration.", "severity": "medium", "references": {"anssi": ["R50"]}, "control_references": {"anssi": ["R50"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/sestatus.conf does not have unix mode 0644", "ocil": "To check the permissions of <code>/etc/sestatus.conf</code>,\nrun the command:\n<pre>$ ls -l /etc/sestatus.conf</pre>\nIf properly configured, the output should indicate the following permissions:\n<code>0644</code>", "oval_external_content": null, "fixtext": " Configure the \"/etc/sestatus.conf\" file to \"0644\" by running the following command:\n$ sudo chmod 0644 /etc/sestatus.conf", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/sestatus.conf file must have mode 0644 or less permissive to prevent unauthorized access.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Verify Permissions On /etc/sestatus.conf File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/selinux/file_permissions_etc_sestatus_conf/rule.yml", "template": {"name": "file_permissions", "vars": {"filepath": "/etc/sestatus.conf", "filemode": "0644"}, "backends": {}}}