Register alias policies
  • 1 minute to read
  • Dark
    Light
  • PDF

Register alias policies

  • Dark
    Light
  • PDF

Article summary

When creating a New rule, the Alias tab allows the creation of aliases (alternative names for commands) through GO Endpoint Manager for Linux. You can create shortcuts to manage the most used commands, streamlining the use of the terminal.

  1. Access the senhasegura platform.
  2. Navigate to GO Endpoint Manager➔Policies➔Linux➔Access Policies.
  3. Click and select the option New rule for users.
  4. At the Rules register by user form, in the Main tab, complete the fields:
  • Policy name: define an easy-to-identify name.
  • Enabled: if enabled, the policy will be applied across devices.
  • Guideline: select a policy type Binary run.
  • Allow or block: set to Allow.
  • Rule text: fill with handler="/usr/bin/secpack-trec-triggered"
  1. Click Add.
  2. Go to the Alias tab.
Caution

Be careful when filling out the alias for commands that may affect the use of the system.

  1. Complete the fields:
  • Alias: fill in the full path of the command you want to use.
  • Command: fill in the full path of the command you want to replace.
  1. Go to the Users tab.
  2. Select Users+.
  3. Choose the users you want to add to the segregation.
  4. Click Add.
  5. Click Save.
Info

In the Linux terminal, use which [the command you want] to find out the path of the binary.


Check created aliases

  1. Access the Linux terminal.
  2. Enter the command:
cat /etc/senhasegura/aliases

Was this article helpful?