We have recently installed a new Lightspeed Rocket. I have pushed out a new User Agent to all of our Mac's to make sure everything is up-to-date. However, the new user agent doesn't appear to be syncing with the Rocket. There is a script that they say to run in terminal after an install (sudo defaults write useragent IdentServer -string “..."). I'm trying to figure out a way to push this out either through Casper Remote or JSS. It needs to be run as administrator or in root so I put together a basic script and pushed it to a test machine. No matter how I've tried my script fails when pushed out through JSS or Casper Remote. Anyone else had luck with this??
!#/bin/sh
sudo defaults write useragent IdentServer -string "<Rocket IP>"
Full Disclosure: I'm new to Casper and Mac's in general in the last few months haha, Thanks!