SV-215339r508663_rule
V-215339
SRG-OS-000480-GPOS-00227
AIX7-00-003033
CAT II
10
Add a group to the system for each GID referenced without a corresponding group by running "mkgroup" command.
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.
V-215339
False
AIX7-00-003033
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.
M
4012