{"description": " To properly set the permissions of <code>/etc/sudoers</code>, run the command: <pre>$ sudo chmod 0440 /etc/sudoers</pre>", "rationale": "Setting correct permissions on the /etc/sudoers file is important\nbecause this file hosts sudo configuration. Protection of this\nfile is critical for system security. Restricting the permissions\nensures exclusive control of the sudo configuration.", "severity": "medium", "references": {"anssi": ["R50"]}, "control_references": {"anssi": ["R50"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/sudoers does not have unix mode 0440", "ocil": "To check the permissions of <code>/etc/sudoers</code>,\nrun the command:\n<pre>$ ls -l /etc/sudoers</pre>\nIf properly configured, the output should indicate the following permissions:\n<code>0440</code>", "oval_external_content": null, "fixtext": " Configure the \"/etc/sudoers\" file to \"0440\" by running the following command:\n$ sudo chmod 0440 /etc/sudoers", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/sudoers file must have mode 0440 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/sudoers File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/sudo/file_permissions_etc_sudoers/rule.yml", "template": {"name": "file_permissions", "vars": {"filepath": "/etc/sudoers", "filemode": "0440"}, "backends": {}}}