SV-274159r1120465_rule
V-274159
SRG-OS-000104-GPOS-00051
AZLX-23-002480
CAT II
10
Configure Amazon Linux 2023 so that all GIDs are referenced in "/etc/passwd" are defined in "/etc/group".
Edit the file "/etc/passwd" and ensure that every user's GID is a valid GID.
Verify Amazon Linux 2023 interactive users have a valid GID with the following command:
$ sudo pwck -qr
If the system has any interactive users with duplicate GIDs, this is a finding.
V-274159
False
AZLX-23-002480
Verify Amazon Linux 2023 interactive users have a valid GID with the following command:
$ sudo pwck -qr
If the system has any interactive users with duplicate GIDs, this is a finding.
M
5700