UCF STIG Viewer Logo

The Ubuntu operating system must uniquely identify interactive users.


Finding ID Version Rule ID IA Controls Severity
V-238205 UBTU-20-010010 SV-238205r653790_rule Medium
To assure accountability and prevent unauthenticated access, organizational users must be identified and authenticated to prevent potential misuse and compromise of the system. Organizational 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: 1) 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 2) 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. Satisfies: SRG-OS-000104-GPOS-00051, SRG-OS-000121-GPOS-00062
Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide 2021-11-19


Check Text ( C-41415r653788_chk )
Verify the Ubuntu operating system contains no duplicate User IDs (UIDs) for interactive users with the following command:

$ awk -F ":" 'list[$3]++{print $1, $3}' /etc/passwd

If output is produced and the accounts listed are interactive user accounts, this is a finding.
Fix Text (F-41374r653789_fix)
Edit the file "/etc/passwd" and provide each interactive user account that has a duplicate UID with a unique UID.