ALMA-09-016630 - AlmaLinux OS 9 /etc/shadow- file must be group-owned by root.

Information

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

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

$ chgrp root /etc/shadow-

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269226r1050108_rule, STIG-ID|ALMA-09-016630, Vuln-ID|V-269226

Plugin: Unix

Control ID: 36515200e0f6a6148c5d342a59cc9a76a11b771ade6e6e4e4c0761949d9da3a0