Register general rule
- 1 minute to read
- Print
- DarkLight
- PDF
Register general rule
- 1 minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
- Access the senhasegura platform.
- Navigate to GO Endpoint Manager➔Policies➔Linux➔Rules for sudo.
- Click ⁝ and select the option New rule of general sudo.
- At the Registration rules for sudo form, in the Main tab, complete the fields:
- Identification name: define a name to identify the rule.
- Enabled: set the status of the rule.
- Commands for rule application (must be used the full path): fill in with the command's path that you can run as sudo and elevate privileges. To find the command's path in the Linux terminal, run which [the command you want].
- It should be NOPASSWD?: if you check Yes, the user won’t be prompted for a password to run the command as sudo. If you check No, the user will be asked for a password to run it.
- Description: add a brief description about this rule.
- Click Save.
Validate sudo rules on the target device
- Access the Linux terminal.
- Enter the command to verify:
cat /etc/sudoers.d/senhasegura
Was this article helpful?