{"description": " To properly set the group owner of <code>/etc/ipsec.secrets</code>, run the command:\n<pre>$ sudo chgrp root /etc/ipsec.secrets</pre>\n", "rationale": "The ownership of the /etc/ipsec.secrets file by the root group is important\nbecause this file hosts Libreswan configuration. Protection of this\nfile is critical for system security. Assigning the ownership to root\nensures exclusive control of the Libreswan configuration.", "severity": "medium", "references": {"anssi": ["R50"]}, "control_references": {"anssi": ["R50"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/ipsec.secrets does not have a group owner of\nroot\n", "ocil": "To check the group ownership of <code>/etc/ipsec.secrets</code>,\nrun the command:\n<pre>$ ls -lL /etc/ipsec.secrets</pre>\nIf properly configured, the output should indicate the following group-owner:\n\n  <code>root</code>\n  ", "oval_external_content": null, "fixtext": " Change the group of the file /etc/ipsec.secrets to root by running the following command:\n$ sudo chgrp root /etc/ipsec.secrets", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/ipsec.secrets file must be group-owned by root.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "package[libreswan]", "platforms": ["package[libreswan]"], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": ["package_libreswan"], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Verify Group Who Owns /etc/ipsec.secrets File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/network/network-ipsec/file_groupowner_etc_ipsec_secrets/rule.yml", "template": {"name": "file_groupowner", "vars": {"filepath": "/etc/ipsec.secrets", "gid_or_name": "root"}, "backends": {}}}