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

Information

The "/etc/shadow" file stores password hashes. Protection of this file is critical for system security.

Solution

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

$ sudo chgrp root /etc/shadow

See Also

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