1.139 RHEL-10-400260

Information

RHEL 10 must enforce mode "0000" or less permissive for the "/etc/gshadow-" file to prevent unauthorized access.

GROUP ID: V-281069RULE ID: SV-281069r1165562

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 mode of the "/etc/gshadow-" file is set to "0000" by running the following command:

$ sudo chmod 0000 /etc/gshadow-

See Also

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