ALMA-09-016190 - AlmaLinux OS 9 /etc/passwd- file must have mode 0644 or less permissive to prevent unauthorized access.

Information

The "/etc/passwd-" file is a backup file of "/etc/passwd", and as such, contains information about the users that are configured on the system. Protection of this file is critical for system security.

Solution

Change the mode of the file "/etc/passwd-" to "0644" by running the following command:

$ chmod 0644 /etc/passwd-

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-269222r1050104_rule, STIG-ID|ALMA-09-016190, Vuln-ID|V-269222

Plugin: Unix

Control ID: 1fad1a4854ccfe098699abfe850ff07b6ddf3dd078badc30ac934ffc17abc82e