1.94 RHEL-10-400035

Information

RHEL 10 must be configured so that the "/etc/gshadow-" file is group-owned by "root".

GROUP ID: V-281024
RULE ID: SV-281024r1165427

The "/etc/gshadow-" file is a backup of "/etc/gshadow", and as such contains group password hashes. Protection of this file is critical for system security.

Solution

Configure RHEL 10 so that the group of the "/etc/gshadow-" file is set to "root" by running the following command:

$ sudo chgrp root /etc/gshadow-

See Also

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