SV-252951r958482_rule
V-252951
SRG-OS-000104-GPOS-00051
TOSS-04-020060
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 TOSS 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-252951
False
TOSS-04-020060
Verify that TOSS 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
5469