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