SV-230371r627750_rule
V-230371
SRG-OS-000104-GPOS-00051
RHEL-08-020240
CAT II
10
Edit the file "/etc/passwd" and provide each interactive user account that has a duplicate User ID (UID) with a unique UID.
Verify that RHEL 8 contains no duplicate User IDs (UIDs) for interactive users.
Check that the operating system contains no duplicate UIDs for interactive users with the following command:
$ sudo 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.
V-230371
False
RHEL-08-020240
Verify that RHEL 8 contains no duplicate User IDs (UIDs) for interactive users.
Check that the operating system contains no duplicate UIDs for interactive users with the following command:
$ sudo 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.
M
2921