Skip to main content
Question

Running Unix Commands Via Jamf


Forum|alt.badge.img+3
  • New Contributor
  • 2 replies

Hi All,

I am trying to push a few terminal commands via jamf to users machines. I wrote the script up and it states it has completed the deployment successfully. When i go to test what the script is supposed to do, there are no changes. I need this to run as the local user. I understand that by default it runs as root. Below is my current apple script.

do shell script "sudo defaults write com.google.Chrome AuthServerWhitelist '<Domain>'"
do shell script "sudo defaults write com.google.Chrome AuthServerWhitelist '
<Domain>'"

2 replies

donmontalvo
Forum|alt.badge.img+36
  • Legendary Contributor
  • 4293 replies
  • October 2, 2014

Forum|alt.badge.img+5
  • New Contributor
  • 78 replies
  • October 7, 2014

Agree…use a configuration profile for this. So much easier to do and maintain. If you need help let me know and I can shoot you a sample of the file I use.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings