MacOS sudo command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MacOS sudo command

L1 Bithead

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.

Field_Content_versions_oct20__068Ht00000Vf57zIAB.png

1 accepted solution

Accepted Solutions

L3 Networker

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

View solution in original post

6 REPLIES 6

L3 Networker

Hi,

Why did you addition matches wildcard and sentinelctl ? Do you try with Is exactly or with the hash files ?

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 .

 

L3 Networker

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

Thanks for your suggestion; we will try the same.😊

Field_Content_versions_oct20__068Ht00000Vf5OcIAJ.png

L5 Sessionator

Hi @Nadeem .​ ,

 

Any chance the policy is targeted to other computer so it's not applied in the computer you test on ?

 

 

Thanks,

Arik.

 

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

  • 1 accepted solution
  • 4 Views
  • 6 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!