ALMA-09-016850 - AlmaLinux OS 9 /etc/shadow- file must have mode 0000 or less permissive to prevent unauthorized access.

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 mode of the file "/etc/shadow-" to "0000" by running the following command:

$ chmod 0000 /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-269228r1050110_rule, STIG-ID|ALMA-09-016850, Vuln-ID|V-269228

Plugin: Unix

Control ID: 0e1ea3ecc73086c1491b76086a6696de71ef0561da8231c074236e6a622a8945