{"description": "Change the group name or delete groups, so each has a unique id.", "rationale": "To assure accountability and prevent unauthenticated access, groups must be identified uniquely to prevent potential misuse and compromise of the system.", "severity": "medium", "references": {"srg": ["SRG-OS-000104-GPOS-00051"], "cis": ["7.2.6"], "pcidss4": ["8.2.1", "8.2"]}, "control_references": {"cis": ["7.2.6"], "pcidss4": ["8.2.1", "8.2"]}, "components": [], "identifiers": {}, "ocil_clause": "the system has duplicate group ids", "ocil": "Run the following command to check for duplicate group names:\nCheck that the operating system contains no duplicate Group ID (GID) for interactive users by running the following command:\n<pre>\n    cut -d : -f 3 /etc/group | uniq -d\n</pre>\nIf output is produced, this is a finding.\nConfigure the operating system to contain no duplicate GIDs.\nEdit the file \"/etc/group\" and provide each group that has a duplicate GID with a unique GID.", "oval_external_content": null, "fixtext": "Edit the file \"/etc/group\" and provide each group that has a duplicate Group ID (GID) with a unique GID.", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 groups must have unique Group ID (GID).", "warnings": [{"general": "Automatic remediation of this control is not available due to the unique requirements of each system."}], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 groups must have unique Group ID (GID).", "vuldiscussion": "To ensure accountability and prevent unauthenticated access, groups must be identified uniquely to prevent potential misuse and compromise of the system.", "checktext": "Verify that Ubuntu 22.04 contains no duplicate GIDs for interactive users with the following command:\n\n $  cut -d : -f 3 /etc/group | uniq -d\n\nIf the system has duplicate GIDs, this is a finding.", "fixtext": "Edit the file \"/etc/group\" and provide each group that has a duplicate GID with a unique GID."}}, "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": "Ensure All Groups on the System Have Unique Group ID", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-restrictions/group_unique_id/rule.yml", "template": null}