RHEL-09-232085 - RHEL 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:

$ sudo chmod 0000 /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-257897r991589_rule, STIG-ID|RHEL-09-232085, Vuln-ID|V-257897

Plugin: Unix

Control ID: 7d2d18601d95da06bac6dda1ce25c6048fcf4f988a7d024b878a946932324ec6