Skip to main content
Solved

Setting user level ByHost/.GlobalPreference entry

  • February 12, 2013
  • 4 replies
  • 0 views

Forum|alt.badge.img+7

I'm trying to write a default colour profile entry into

/Users/Library/Preferences/ByHost/.GlobalPrefence

Does anyone have an easy single fire solution to this? Or is the only way around this to package up the plist and push it out to each machine when a user logs in?

Best answer by rich.trouton

PlistBuddy is in /usr/libexec on 10.8.x. You may need to include the path when calling it in a script:

/usr/libexec/PlistBuddy runs_this_command

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+24
  • Valued Contributor
  • 1892 replies
  • February 12, 2013

Plistbuddy is a great way to go to script the addition to it. It may take a bit to wrap your head round, but it's effective.


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 59 replies
  • February 15, 2013

Hi Jared, we unfortunately have to use OS X 10.8. Plistbuddy is not as standard in this OS and from what i can see isn't available for 10.8. Any other ideas on how to get around this?


Forum|alt.badge.img+31
  • Employee
  • 920 replies
  • Answer
  • February 15, 2013

PlistBuddy is in /usr/libexec on 10.8.x. You may need to include the path when calling it in a script:

/usr/libexec/PlistBuddy runs_this_command


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 59 replies
  • February 21, 2013

Thanks rtouton! I'll check that out and let you know how i get on with it!


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