{"description": "Change user IDs (UIDs), or delete accounts, so each has a unique name.", "rationale": "To assure accountability and prevent unauthenticated access, interactive users must be identified and authenticated to prevent potential misuse and compromise of the system.", "severity": "medium", "references": {"pcidss": ["Req-8.1.1"], "srg": ["SRG-OS-000104-GPOS-00051", "SRG-OS-000121-GPOS-00062"], "cis": ["7.2.5"], "pcidss4": ["8.2.1", "8.2"]}, "control_references": {"cis": ["7.2.5"], "pcidss4": ["8.2.1", "8.2"]}, "components": [], "identifiers": {}, "ocil_clause": "output is produced and the accounts listed are interactive user accounts", "ocil": "Verify that Ubuntu 22.04 contains no duplicate User IDs (UIDs) for interactive users.\n\nCheck that the operating system contains no duplicate UIDs for interactive users with the following command:\n\n<pre>$ sudo awk -F \":\" 'list[$3]++{print $1, $3}' /etc/passwd</pre>", "oval_external_content": null, "fixtext": "Edit the file \"/etc/passwd\" and provide each interactive user account that has a duplicate User ID (UID) with a unique UID.", "checktext": "", "vuldiscussion": "To assure accountability and prevent unauthenticated access, organizational users must be identified and authenticated to prevent potential misuse and compromise of the system.\nOrganizational users include organizational employees or individuals the organization deems to have equivalent status of employees (e.g., contractors). Organizational users (and processes acting on behalf of users) must be uniquely identified and authenticated to all accesses, except for the following:\n1) Accesses explicitly identified and documented by the organization. Organizations document specific user actions that can be performed on the information system without identification or authentication; and\n2) Accesses that occur through authorized use of group authenticators without individual authentication. Organizations may require unique identification of individuals in group accounts (e.g., shared privilege accounts) or for detailed accountability of individual activity.", "srg_requirement": "Ubuntu 22.04 duplicate User IDs (UIDs) must not exist for interactive users.", "warnings": [{"general": "Automatic remediation of this control is not available due to unique requirements of each\nsystem."}], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 duplicate User IDs (UIDs) must not exist for interactive users.", "vuldiscussion": "To ensure accountability and prevent unauthenticated access, interactive users must be identified and authenticated to prevent potential misuse and compromise of the system.", "checktext": "Verify that Ubuntu 22.04 contains no duplicate UIDs for interactive users with the following command:\n\n$ sudo awk -F \":\" 'list[$3]++{print $1, $3}' /etc/passwd\n\nIf output is produced and the accounts listed are interactive user accounts, this is a finding.", "fixtext": "Edit the file \"/etc/passwd\" and provide each interactive user account that has a duplicate UID with a unique UID."}}, "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 Accounts on the System Have Unique User IDs", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-restrictions/account_unique_id/rule.yml", "template": null}