Other Articles

Servers – Configure Group Backup 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 a backup copy of the system group information.

Proper ownership and permissions help prevent unauthorized users from modifying this file, which could lead to privilege escalation or unauthorized access to system groups.

Check Details

  • Resource: Server
  • Check: Configure Group Backup Permissions
  • Risk: If the /etc/group- file has incorrect ownership or permissions, unauthorized users may modify the backup group configuration, potentially leading 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 permissions so that only the root user can modify the file.

    sudo chmod u-x,go-wx /etc/group-
    
  5. Verify that the final configuration meets the following requirements:

    • Owner: root
    • Group: root
    • Permissions: 644 or more restrictive