SV-238205r653790_rule
V-238205
SRG-OS-000104-GPOS-00051
UBTU-20-010010
CAT II
10
Edit the file "/etc/passwd" and provide each interactive user account that has a duplicate UID with a unique UID.
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.
V-238205
False
UBTU-20-010010
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.
M
5318