ALMA-09-016080 - AlmaLinux OS 9 /etc/passwd- file must be 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 owner of the file /etc/passwd- to root by running the following command:

$ chown 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-269221r1050103_rule, STIG-ID|ALMA-09-016080, Vuln-ID|V-269221

Plugin: Unix

Control ID: 55cf861db58207a7b06fb07c3b97cb7b769f41e8bb19a4190de75a62cc0f5fe6