The “Automatic Proxy Configuration” url in System Preferences is used to point the clients to a PAC file to set the proxy server when on the Office LAN. Below are some scripts to manage this setting.
Continue readingPolicy
How To: Turn off Wireless Card
StandardWe run the following on all macs with a wireless card as a offline policy via Casper at logout.
This script will:
- Enable the wireless service if it’s not been enabled.
- Clear any set DNS servers & search domains (can be turned off for 10.4, reasoning is that 10.5+ can receive DNS from DHCP)
- Turns off the wireless card.
The script itself has been built from a few scripts contained within Caspers Resource Kit & then modified for 10.7+ by myself.
Installing Adobe Unit Types 2.1.0
StandardThis post advises why you may need to update the Adobe Unit Types.osax file & how to do so using Casper.
The Adobe Unit Types.osax file that shipped with Photoshop CS4 and CS3 is a 32-bit component. Mac OS X 10.6 (Snow Leopard) requires some 64-bit scripting environments.
This file is placed in /Library/ScriptingAdditions/ & can cause Applescripts to fail to run.
Both Adobe & JAMF have posted help docs on how to fix this & this post is to advise how I’ve deployed to corrected osax file to affected machines.
Continue readingHow To: Set OSX’s Screen Saver via Script
StandardThroughout my career as a Mac Admin i’ve often been asked to enforce a screen saver. One environment required a screen saver to always be set, but to allow people to change the desktop background. Another required a screen saver to be set to the corporate standard at each login. This script has been used in both environments to great affect.
Continue readingUnlock Each Secure System Preference & Allow All Users To Unlock
StandardUPDATE: The below has been superseded by the post found here. I'd also advise looking at authbuddy instead of the below
The below will untick the option System Preferences > Security > “Require Password To Unlock Each Secure Preference” & allow all users to unlock these preferences.
Continue reading