SV-270720r1066649_rule
V-270720
SRG-OS-000104-GPOS-00051
UBTU-24-400000
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 24.04 LTS 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-270720
False
UBTU-24-400000
Verify Ubuntu 24.04 LTS 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
5673