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

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 group of the file /etc/passwd- to root by running the following command:

$ chgrp root /etc/passwd-

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269220r1050102_rule, STIG-ID|ALMA-09-015970, Vuln-ID|V-269220

Plugin: Unix

Control ID: 367a2e9d07c7e7069e3fda47e821d231af03cf291354a0651a8fed41b45c9a7d