SV-260543r958482_rule
V-260543
SRG-OS-000104-GPOS-00051
UBTU-22-411015
CAT II
10
Edit the file "/etc/passwd" and provide each interactive user account that has a duplicate UID with a unique UID.
Verify Ubuntu 22.04 LTS contains no duplicate User IDs (UIDs) for interactive users by using 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-260543
False
UBTU-22-411015
Verify Ubuntu 22.04 LTS contains no duplicate User IDs (UIDs) for interactive users by using 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
5594