ALMA-09-016740 - AlmaLinux OS 9 /etc/shadow- file must be 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 owner of the file /etc/shadow- to root by running the following command:

$ chown 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-269227r1050109_rule, STIG-ID|ALMA-09-016740, Vuln-ID|V-269227

Plugin: Unix

Control ID: 36c07b2f4c5290f483cb77bd498b007b6d338530e4670728138a0700a88e134d