6.1.4 Ensure permissions on /etc/group are configured

Information

The /etc/group file contains a list of all the valid groups defined in the system. The command below allows read/write access for root and read access for everyone else.

Rationale:

The /etc/group file needs to be protected from unauthorized changes by non-privileged users, but needs to be readable as this information is used with many non-privileged programs.

Solution

Run the following commands to set owner, group, and permissions on /etc/group :

# chown root:root /etc/group

# chmod u-x,g-wx,o-wx /etc/group

See Also

https://workbench.cisecurity.org/files/2854

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(6), CSCv6|3.1, CSCv7|14.6

Plugin: Unix

Control ID: 3d6c6daa92bd69017f7a09a38b2ad4a6cb8a632d0e1f4cdbdab6b6650d4b2821