Apple MC171Z/A Administration Guide - Page 149
Using systemsetup
UPC - 885909323722
View all Apple MC171Z/A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 149 highlights
flag -setwebproxy networkservice domain portnumber (on | off) [username password] -help description Set Web proxy for a network service with domain and port number. Turns proxy on. Optionally, specify on or off to enable and disable authenticated proxy support. Specify username and password if you turn authenticated proxy support on. Example: networksetup -setwebproxy "Built-In Ethernet" proxy.company.com 80 on bob mypassword Displays a list of all the commands available in the Network Setup Tool, with explanatory information. Any command in the Mac OS X Server command-line guide which uses networksetup can be used in Remote Desktop using the Send UNIX Command task. Using systemsetup The command-line tool systemsetup is used to configure other nonnetwork system settings. You can use it to query or alter time zones, network time servers, sleep settings, Energy Saver preferences, Remote Login (SSH) preferences, and more. You will find the command-line syntax, explanations, and example in the tool's help prompt by entering the following line in the Terminal: /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/ systemsetup -help A few of the capabilities of systemsetup are listed below: Flag -setallowpowerbuttontosleepcomputer (on | off) -setdate mm:dd:yy -setlocalsubnetname name -setnetworktimeserver timeserver -setremoteappleevents ( on | off ) Description Enable or disable whether the power button can sleep the computer. Example: systemsetup -setallowpowerbuttontosleepcomputer on Use this command to set the current month, day, and year. Example: systemsetup -setdate 04:15:02 Set Local Hostname to name. Example: systemsetup -setlocalsubnetname LabMac1 Use this command to designate a network time server. Enter the IP address or DNS name for the network time server. Example: systemsetup -setnetworktimeserver time.apple.com Use this command to set whether the server responds to events sent by other computers (such as AppleScripts). Example: systemsetup -setremoreappleevents on Chapter 8 Administering Client Computers 149