Shell Script to set Proxy server settings in 10.4
Submitted by tlarkin on Fri, 08/15/2008 - 23:30
This is a shell script I have used to change out proxy settings in the OS X client. You can send it via ARD admin, Casper client, ssh, or whatever other means you wish.
#!/bin/sh/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setwebproxystate "AirPort" off/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setwebproxystate "Built-in Ethernet" off/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setsecurewebproxystate "AirPort" off/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setsecurewebproxystate "Built-in Ethernet" off
I would also like to add that if you are using 10.5 this binary has been migrated to it's own special place under /usr/sbin/networksetup.
- Login to post comments
