- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
Create an Advanced Policy for MacOS to Elevate and add 3 sudo definitions in the same policy to capture and elevate all sudo command variations.
Application Definition 1:
- Command - matches wildcard - *
Application definition 2:
- Command - matches wildcard - *
- Sudo arguments - matches wildcard - *
Application definition 3:
- Command - matches wildcard - *
- Sudo arguments - match wildcard - *
- Parameters - match wildcard - *
In those 3 cases, you will always get elevated for whatever sudo command you run and however you structure the command.