1.129 RHEL-09-232105

Information

RHEL 9 /etc/group- file must be group-owned by root.

GROUP ID: V-257901
RULE ID: SV-257901r991589

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.

Solution

Change the group of the file /etc/group- to root by running the following command:

$ sudo chgrp root /etc/group-

See Also

https://workbench.cisecurity.org/benchmarks/22008