systemsetup
This command complements, and in some cases even duplicates, the previously mentioned networksetup command. The systemsetup command can change many of the settings normally available from the control panels in System Preferences. Once again, open a Terminal window and go to ARD's command directory: cd /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support To find out what commands are supported by systemsetup, do the following: sudo ./systemsetup -help Below is a listing of all the commands provided by systemsetup in ARD 2.1: systemsetup Help Information ------------------------------------- Usage: systemsetup -getdate Display current date. Usage: systemsetup -setdate Usage: systemsetup -gettime Display current time. Usage: systemsetup -settime Usage: systemsetup -gettimezone Display current time zone. Usage: systemsetup -settimezone Usage: systemsetup -listtimezones List time zones supported by this machine. Usage: systemsetup -getusingnetworktime Display whether network time is on or off. Usage: systemsetup -setusingnetworktime Usage: systemsetup -getnetworktimeserver Display network time server. Usage: systemsetup -setnetworktimeserver Usage: systemsetup -getsleep Display amount of idle time until computer, display and hard disk sleep. Usage: systemsetup -setsleep Usage: systemsetup -getcomputersleep Display amount of idle time until computer sleeps. Usage: systemsetup -setcomputersleep Usage: systemsetup -getdisplaysleep Display amount of idle time until display sleeps. Usage: systemsetup -setdisplaysleep Usage: systemsetup -getharddisksleep Display amount of idle time until hard disk sleeps. Usage: systemsetup -setharddisksleep Usage: systemsetup -getwakeonmodem Display whether wake on modem is on or off. Usage: systemsetup -setwakeonmodem Usage: systemsetup -getwakeonnetworkaccess Display whether wake on network access is on or off. Usage: systemsetup -setwakeonnetworkaccess Usage: systemsetup -getrestartpowerfailure Display whether restart on power failure is on or off. Usage: systemsetup -setrestartpowerfailure Usage: systemsetup -getrestartfreeze Display whether restart on freeze is on or off. Usage: systemsetup -setrestartfreeze Usage: systemsetup -getallowpowerbuttontosleepcomputer Display whether the power button is able to sleep the computer. Usage: systemsetup -setallowpowerbuttontosleepcomputer Usage: systemsetup -getremotelogin Display whether remote login is on or off. Usage: systemsetup -setremotelogin Usage: systemsetup -getremoteappleevents Display whether remote apple events are on or off. Usage: systemsetup -setremoteappleevents Usage: systemsetup -getcomputername Display computer name. Usage: systemsetup -setcomputername Usage: systemsetup -getlocalsubnetname Display local subnet name. Usage: systemsetup -setlocalsubnetname Usage: systemsetup -getstartupdisk Display current startup disk. Usage: systemsetup -setstartupdisk Usage: systemsetup -liststartupdisks List startup disks on this machine. Usage: systemsetup -getWaitForStartupAfterPowerFailure Get the number of seconds after which the computer will start up after a power failure. Usage: systemsetup -setWaitForStartupAfterPowerFailure Usage: systemsetup -version Display version of systemsetup tool. Usage: systemsetup -help Display help. Usage: systemsetup -printCommands Display commands. ARD Resources >> |