Register environment variables policies
- 1 minute to read
- Print
- DarkLight
- PDF
Register environment variables policies
- 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➔Access Policies.
- Click ⁝ and select the option New rule for user.
- 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 Run Binary.
- Allow or block: set to Allow.
- Rule text: fill with handler="/usr/bin/secpack-trec-triggered"
- Click Add.
- Go to the Environment variables tab. Environment variables can be used dynamically for programs or processes running on the system.
- Fill in the fields:
- Variable name: add the name of the variable.
- Variable value: add the value of the variable.
- Go to the Users tab.
- Select Users+.
- Choose the users you want to add to the segregation.
- Click Add.
- Click Save.
Caution
If there is already an environment variable registered, it will be replaced by the new registered value.
Check environment variables created
- Access the Linux terminal.
- Enter the command:
cat /etc/senhasegura/environment_rules
Info
Environment variables only work in segregation by users.
Was this article helpful?