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

Information

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

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

$ sudo chgrp root /etc/gshadow-

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R9_STIG.zip