Other Articles

Servers – Configure Group Permissions

Support > Fixing Checks > Server

06 March, 2026

This check ensures that the permissions on the /etc/group file are configured correctly. The /etc/group file stores information about all groups configured on the system.

Proper file ownership and permissions help prevent unauthorized users from modifying group definitions, which could lead to privilege escalation or improper access control.

Check Details

  • Resource: Server
  • Check: Configure Group Permissions
  • Risk: If the /etc/group file has incorrect ownership or permissions, unauthorized users may modify group information. This could lead to privilege escalation or unauthorized access to system resources.

Remediation Steps

  1. Open a terminal session on the server with root or sudo privileges.
  2. Verify the current ownership and permissions of the /etc/group file.

    stat /etc/group
    
  3. Ensure that the file ownership is set to root:root.

    sudo chown root:root /etc/group
    
  4. Set the correct file permissions so that the file is readable but not writable by other users.

    sudo chmod 644 /etc/group
    
  5. Verify that the final configuration matches the following requirements:

    • Owner: root
    • Group: root
    • Permissions: 644 (-rw-r--r--)