This document provides information about the Sudo Rules report, which displays the sudo rules settings in the Segura.
Path to access
- On Segura, in the navigation bar, hover over the Products menu and select EPM.
- In the side menu, select Policies > Linux > Sudo Rules.
Actions Menu
Item |
Type |
Description |
Add |
Button |
Directs to the new sudo rule registration screen. |
Actions |
Dropdown menu |
Displays the options for Print Report, Export CSV, and Schedule Report. |
Search Fields
Item |
Type |
Description |
Code |
Text field |
Filters the sudo rules by their identification code. |
Name |
Text field |
Filters the sudo rules by their name. |
Segregation |
Dropdown menu |
Filters the sudo rules by their segregation. |
Commands for rule enforcement |
Dropdown menu |
Filters the rules by the specific commands. |
Nopasswd |
Dropdown menu |
Filters the rules by password requirement. |
Status |
Dropdown menu |
Filters the rules by their activation state. |
Report Fields
- Code.
- Name.
- Segregation.
- Commands for rule enforcement.
- Nopasswd.
- Status.
- Actions:
- Edit: directs to the Registration rules for sudo form in edit mode.
- Details: directs to the Sudo Rules report where you can view rule details.
- Disable: disables the rule.
Segregation Screen
When you click Add, you are directed to the Segregation screen to choose whether the rule will be applied in general in Segura, in a segregated way only to the device, or in a segregated way only to the user.
Registration rules for sudo screen - General
By clicking on the General button, you'll be directed to the Registration rules for sudo form, where you can register a new rule for sudo, which will be widely implemented in Segura.
Item |
Type |
Required |
Description |
Identification name |
Text field |
Yes |
Name of the sudo rule. |
Enabled |
Toggle button |
Yes |
Enables or disables the rule. |
Commands for rule application (must be used the full path) |
Text field |
Yes |
Enter the full path from the command to the sudo rule. |
It should be NOPASSWD? |
Toggle button |
Yes |
Defines whether the sudo rule requires a password. |
Description |
Text field |
No |
Field to describe the sudo rule. |
Registration rules for sudo screen - Devices
By clicking on the Devices button, you'll be directed to the Registration rules for sudo form, where you can register a new rule for sudo, which will be implemented only on the indicated device.
Sudo rules tab
Item |
Type |
Required |
Description |
Identification name |
Text field |
Yes |
Name of the sudo rule. |
Enabled |
Toggle button |
Yes |
Enables or disables the rule. |
Commands for rule application (must be used the full path) |
Text field |
Yes |
Enter the full path from the command to the sudo rule. |
It should be NOPASSWD? |
Toggle button |
Yes |
Defines whether the sudo rule requires a password. |
Description |
Text field |
No |
Field to describe the sudo rule. |
Devices tab
Item |
Type |
Required |
Description |
Add |
Button |
No |
Button that directs to the Devices modal. |
Device table |
Table |
No |
Data for each device that will be part of the sudo rule, containing checkbox, Code, Hostname, Domain, IP and Operating System fields. |
Review tab
Contains the information registered in the previous steps. Review them and click Save. If you need to modify any information, navigate to the corresponding tab by the top bar or by clicking Back.
Devices Modal
Item |
Type |
Description |
ID |
Text field |
Device identifier code in Segura. |
Hostname |
Text field |
Device hostname in Segura. |
Domain. |
Text field |
Domain to which the device belongs in Segura. |
IP |
Text field |
Device IP address |
Operating System |
Text field |
Device operating system |
Registration rules for sudo screen - User
By clicking on the User button, you'll be directed to the Registration rules for sudo form, where you can register a new rule for sudo, which will be implemented only for the indicated users.
Sudo rules tab
Item |
Type |
Required |
Description |
Identification name |
Text field |
Yes |
Name of the sudo rule. |
Enabled |
Toggle button |
Yes |
Enables or disables the rule. |
Commands for rule application (must be used the full path) |
Text field |
Yes |
Enter the full path from the command to the sudo rule. |
It should be NOPASSWD? |
Toggle button |
Yes |
Defines whether the sudo rule requires a password. |
Description |
Text field |
No |
Field to describe the sudo rule. |
Users tab
Item |
Type |
Required |
Description |
Add |
Button |
No |
Button that directs to the Users modal. |
User table |
Table |
No |
Data for each device that will be part of the sudo rule, containing checkbox, Code, Username and Domain fields. |
Review tab
Contains the information registered in the previous steps. Review them and click Save. If you need to modify any information, navigate to the corresponding tab by the top bar or by clicking Back.
Users Modal
Item |
Type |
Description |
ID |
Text field |
User identifier code in Segura |
Username |
Text field |
User's username in Segura |
Domain. |
Text field |
Domain to which the user belongs in Segura. |