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_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257911r991589_rule, STIG-ID|RHEL-09-232155, Vuln-ID|V-257911

Plugin: Unix

Control ID: d27d54d6f40128252c87f349af1dc589ea385d5e5ad0c3c3ef6cce4a8508bbf4