Check: RHEL-09-232105
RHEL 9 STIG:
RHEL-09-232105
(in versions v1 r3 through v1 r1)
Title
RHEL 9 /etc/group- file must be group-owned by root. (Cat II impact)
Discussion
The "/etc/group-" file is a backup file of "/etc/group", and as such, contains information regarding groups that are configured on the system. Protection of this file is important for system security.
Check Content
Verify the group ownership of the "/etc/group-" file with the following command: $ sudo stat -c "%G %n" /etc/group- root /etc/group- If "/etc/group-" file does not have a group owner of "root", this is a finding.
Fix Text
Change the group of the file /etc/group- to root by running the following command: $ sudo chgrp root /etc/group-
Additional Identifiers
Rule ID: SV-257901r925690_rule
Vulnerability ID: V-257901
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |