{"description": " To properly set the owner of <code>/etc/crypttab</code>, run the command:\n<pre>$ sudo chown root /etc/crypttab </pre>\n", "rationale": "The ownership of the /etc/crypttab file by the root user is important\nbecause this file hosts encrypted block devices configuration. Protection\nof this file is critical for system security. Assigning the ownership to\nroot ensures exclusive control of the encrypted block devices\nconfiguration.", "severity": "medium", "references": {"anssi": ["R50"]}, "control_references": {"anssi": ["R50"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/crypttab does not have an owner of root", "ocil": "To check the ownership of <code>/etc/crypttab</code>,\nrun the command:\n<pre>$ ls -lL /etc/crypttab</pre>\nIf properly configured, the output should indicate the following owner:\n<code>root</code>", "oval_external_content": null, "fixtext": " Change the owner of the file /etc/crypttab to root by running the following command:\n$ sudo chown root /etc/crypttab", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/crypttab file must be owned by root.", "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 User Who Owns /etc/crypttab File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/file_owner_etc_crypttab/rule.yml", "template": {"name": "file_owner", "vars": {"filepath": "/etc/crypttab", "uid_or_name": "0"}, "backends": {}}}