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

Information

The "/etc/passwd" file 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_V1R6_STIG.zip