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.

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/3796

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|16.4

Plugin: Unix

Control ID: 900bc8c69ded0ca6fe60ad0befb2b4f3327edcac0866a746a62f875b7dd7f133