Information
RHEL 10 must be configured so that the "/etc/shadow-" file is owned by "root".
GROUP ID: V-281031
RULE ID: SV-281031r1165448
The "/etc/shadow-" file is a backup file of "/etc/shadow", and as such contains the list of local system accounts and password hashes. Protection of this file is critical for system security.
Solution
Configure RHEL 10 so that the owner of the "/etc/shadow-" file is set to "root" by running the following command:
$ sudo chown root /etc/shadow-