Check: AIX7-00-003033
IBM AIX 7.x STIG:
AIX7-00-003033
(in versions v3 r1 through v1 r1)
Title
All AIX Group Identifiers (GIDs) referenced in the /etc/passwd file must be defined in the /etc/group file. (Cat II impact)
Discussion
If a user is assigned the GID of a group not existing on the system, and a group with that GID is subsequently created, the user may have unintended rights to the group.
Check Content
Verify that there are no GIDs referenced in "/etc/passwd" that are not defined in "/etc/group": # cut -d: -f4 /etc/passwd 0 1 2 3 4 203 204 # cut -d: -f3 /etc/group 0 1 2 3 4 203 204 If there are GID's listed in the "/etc/passwd" file that are not listed in the "/etc/group" file, this is a finding.
Fix Text
Add a group to the system for each GID referenced without a corresponding group by running "mkgroup" command.
Additional Identifiers
Rule ID: SV-215339r991589_rule
Vulnerability ID: V-215339
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
Implement the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |