SV-281172r1166468_rule
V-281172
SRG-OS-000104-GPOS-00051
RHEL-10-600130
CAT II
10
Configure RHEL 10 to not allow duplicate UIDs to exist for interactive users.
Edit the file "/etc/passwd", and provide each interactive user account that has a duplicate UID with a unique UID.
Verify RHEL 10 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-281172
False
RHEL-10-600130
Verify RHEL 10 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
5733