{"description": " To properly set the group owner of <code>/etc/group-</code>, run the command:\n<pre>$ sudo chgrp root /etc/group-</pre>\n", "rationale": "The <tt>/etc/group-</tt> file is a backup file of <tt>/etc/group</tt>, and as such,\nit contains information regarding groups that are configured on the system.\nProtection of this file is important for system security.", "severity": "medium", "references": {"nist": ["AC-6 (1)"], "pcidss": ["Req-8.7"], "srg": ["SRG-OS-000480-GPOS-00227"], "cis": ["7.1.4"], "pcidss4": ["2.2.6", "2.2"]}, "control_references": {"cis": ["7.1.4"], "pcidss4": ["2.2.6", "2.2"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/group- does not have a group owner of\nroot\n", "ocil": "To check the group ownership of <code>/etc/group-</code>,\nrun the command:\n<pre>$ ls -lL /etc/group-</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/group- to root by running the following command:\n$ sudo chgrp root /etc/group-", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/group- file must be group-owned by root.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 /etc/group- file must be group-owned by root.", "vuldiscussion": "The \"/etc/group-\" file is a backup file of \"/etc/group\", and as such, contains information regarding groups that are configured on the system. Protection of this file is important for system security.", "checktext": "Verify the group ownership of the \"/etc/group-\" file with the following command:\n\n$ sudo stat -c \"%G %n\" /etc/group-\n\nroot /etc/group-\n\nIf \"/etc/group-\" file does not have a group owner of \"root\", this is a finding.", "fixtext": "Change the group of the file /etc/group- to root by running the following command:\n\n$ sudo chgrp root /etc/group-"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Verify Group Who Owns Backup group File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/permissions_important_account_files/file_groupowner_backup_etc_group/rule.yml", "template": {"name": "file_groupowner", "vars": {"filepath": "/etc/group-", "gid_or_name": "0"}, "backends": {}}}