Running sudo jamf commands

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

Running sudo jamf commands

L3 Networker

We're just starting the process of rolling out cyberark EPM to our Mac's and we come across some issues with some sudo commands. It seems any sudo command that includes jamf don't work, just says your not an admin, which I can see. but it doesn't throw an event in cyberark so we can create a policy for it. The main command we're running is sudo /usr/local/jamf/ policy -event Trigger Name.

3 REPLIES 3

L2 Linker

This is what I have working in my environment. You'll want to elevate "/usr/local/jamf/bin/jamf" under a MacOS Policy.

 

Field_Content_versions_oct20__0682J00000KM1QpQAL.pngField_Content_versions_oct20__0682J00000KM1RSQA1.pngField_Content_versions_oct20__0682J00000KM1SQQA1.png

L3 Networker

Thanks for the reply. I have an elevated policy setup for this. I tried using the /usr/local/jamf/bin/jamf, but still get execution blocked. I reached out to our rep, because he said he was able to run sudo jamf commands on his, so it's something on my end.

L3 Networker

Is there any type of configuration that needs to be done? Our Rep sent me a policy he created on his device with the same jamf commands that works on his end. I imported it in to our console, but any sudo jamf command you run goes straight to execution blocked. Now I'm just waiting to get access to open a support case.

  • 1425 Views
  • 3 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!