MAC OS X Proxy

(imported topic written by SystemAdmin)

Has anyone dabbled with proxy settings on OS X? We are trying to read in the settings of all the network adapters and if not set, set a proxy.

The basic command to set a proxy for a single interface from the command line is sudo networksetup -setautoproxyurl “Built-in Ethernet 1” http://proxyaddress/proxy.pac

The question is, is there a better way and has anyone done this that they could share there experiences?