- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-04-2024 06:52 AM
Hi,
We just created a policy for the sudo command in macOS, but the issue persists. The elevate policy couldn't elevate the sudo commands. Can someone suggest whether this policy is correct or not?
Thanks.
10-04-2024 07:23 AM
If you replace sentinelctl by * and put matches wildcard. With this rules, you can elevate all sudo command. If it's not work, there is maybe an issue with your agent
10-04-2024 07:06 AM
Hi,
Why did you addition matches wildcard and sentinelctl ? Do you try with Is exactly or with the hash files ?
10-04-2024 07:16 AM
Hi, I tried using the exact file or hash file, but it didn't work. Then I tried using wildcard matches, but that also didn't work. The command I used was:
sudo sentinelctl .
10-04-2024 07:23 AM
If you replace sentinelctl by * and put matches wildcard. With this rules, you can elevate all sudo command. If it's not work, there is maybe an issue with your agent
10-04-2024 08:01 AM
Thanks for your suggestion; we will try the same.😊
10-08-2024 09:30 AM
Hi @Nadeem . ,
Any chance the policy is targeted to other computer so it's not applied in the computer you test on ?
Thanks,
Arik.
10-15-2024 08:26 AM
Hi @Nadeem .
As it seems Fethi_ARRAS provided an answer for your question, could you kindly share if this solution resolved your question?
If so, could you please mark the answer as "Select as Best" to help other community members?
Thank you, Liad
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

