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_V1R2_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: 00df7d1422a25df58d88e3327f44e309a3ed34525a78234641c85f8af2a9a242