Posted on 10-02-2014 12:13 PM
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>'"
Posted on 10-02-2014 12:41 PM
https://jamfnation.jamfsoftware.com/discussion.html?id=5851
Posted on 10-07-2014 02:27 PM
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.