6.1.5 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 command to set permissions on /etc/group :

# chown root:root /etc/group

# chmod u-x,go-wx /etc/group

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5, 800-53|IA-5(1), CSCv6|16.14, CSCv7|16.4

Plugin: Unix

Control ID: 2142447df11509c32f1a69bb35a298f5172c4d91275cd8f2a0d0a96318923256