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

$ sudo chown root /etc/passwd-

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257908r991589_rule, STIG-ID|RHEL-09-232140, Vuln-ID|V-257908

Plugin: Unix

Control ID: 4ce9ef245b5988854bd047e388bdd5f1e7047101b4e6963f08e9d698b60deadd