--- title: "Sudo rules are not being applied" slug: "epm-linux-troubleshooting-sudo-rules-not-being-applied" updated: 2026-11-03T14:48:14Z published: 2026-11-03T14:48:14Z canonical: "docs.senhasegura.io/epm-linux-troubleshooting-sudo-rules-not-being-applied" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.senhasegura.io/llms.txt > Use this file to discover all available pages before exploring further. # Sudo rules are not being applied This document provides information on how to fix your sudo rules if they are not being applied. ## Scenario Your [sudo rules configured](/v4-2/docs/how-to-manage-sudo-rules-in-epm-linux) in **EPM Linux** are not being applied. ## Cause There are two possible causes for this problem: 1. The user added to the sudo rule is not in the `gonix` group. 2. The rules are not being applied in the `sudoers` configuration file due to incorrect syntax. ## Solutions To remedy this problem, there are two alternatives depending on the cause. ### Solution 1: If the user that is trying to use the sudo rules are not in the `gonix` group, see the **Requirements** section in [How to Manage Sudo Rules in EPM Linux](/v4-2/docs/how-to-manage-sudo-rules-in-epm-linux) and add the user to the group. ### Solution 2: To verify if the rules are being applied in the `sudoers` configuration file, see the following steps: 1. In the command line, run the following command with a privileged user: `cat /etc/sudoers.d/senhasegura`. 2. With the file opened, try to save it. 1. If your rule syntax is incorrect, a message will be displayed informing you that you have an incorrect syntax at a specific line. 1. To fix the syntax, follow the [How to Manage Sudo Rules in EPM Linux](/v4-2/docs/how-to-manage-sudo-rules-in-epm-linux) guide. 2. If your rule syntax is correct, you will be able to save the file successfully. ## Conclusion After following these steps, all the sudo rules must be applied correctly. If the issue persists, contact the **Segura™ Platform** technical support for further assistance.