1.97 RHEL-10-400050

Information

RHEL 10 must be configured so that the "/etc/passwd-" file is owned by "root".

GROUP ID: V-281027
RULE ID: SV-281027r1165436

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

Configure RHEL 10 so that the owner of the "/etc/passwd-" file is set to "root" by running the following command:

$ sudo chown root /etc/passwd-

See Also

https://workbench.cisecurity.org/benchmarks/26403