SYSTEMSETUP(8) | System Manager's Manual | SYSTEMSETUP(8) |
systemsetup
—
configuration tool for certain machine settings in System
Preferences.
systemsetup |
[-getdate ] [-setdate
mm:dd:yy] [-gettime ]
[-settime hh:mm:ss]
[-gettimezone ]
[-listtimezones ]
[-settimezone timezone]
[-getusingnetworktime ]
[-setusingnetworktime on |
off] [-getnetworktimeserver ]
[-setnetworktimeserver
timeserver] [-getsleep ]
[-setsleep minutes]
[-getcomputersleep ]
[-setcomputersleep minutes]
[-getdisplaysleep ]
[-setdisplaysleep minutes]
[-getharddisksleep ]
[-setharddisksleep minutes]
[-getwakeonmodem ]
[-setwakeonmodem on |
off]
[-getwakeonnetworkaccess ]
[-setwakeonnetworkaccess on
| off]
[-getrestartpowerfailure ]
[-setrestartpowerfailure on
| off] [-getrestartfreeze ]
[-setrestartfreeze on |
off]
[-getallowpowerbuttontosleepcomputer ]
[-setallowpowerbuttontosleepcomputer
on | off]
[-getremotelogin ]
[-setremotelogin on |
off] [-getremoteappleevents ]
[-setremoteappleevents on |
off] [-getcomputername ]
[-setcomputername
computername]
[-getstartupdisk ]
[-liststartupdisks ]
[-setstartupdisk path]
[-getwaitforstartupafterpowerfailure ]
[-setwaitforstartupafterpowerfailure
value]
[-getdisablekeyboardwhenenclosurelockisengaged ]
[-setdisablekeyboardwhenenclosurelockisengaged
yes | no]
[-getkernelbootarchitecturesetting ]
[-setkernelbootarchitecture
i386 | x86_64 |
default] [-version ]
[-help ]
[-printCommands ] |
The systemsetup
command is used to
configure certain per-machine settings typically configured in the System
Preferences application. The systemsetup
command
requires at least "admin" privileges to run.
A list of flags and their descriptions:
-getdate
-setdate
mm:dd:yy-gettime
-settime
hh:mm:ss-gettimezone
-listtimezones
-settimezone
timezone-getusingnetworktime
-setusingnetworktime
on | off-getnetworktimeserver
-setnetworktimeserver
timeserver-getsleep
-setsleep
minutes-getcomputersleep
-setcomputersleep
minutes-getdisplaysleep
-setdisplaysleep
minutes-getharddisksleep
-setharddisksleep
minutes-getwakeonmodem
-setwakeonmodem
on | off-getwakeonnetworkaccess
-setwakeonnetworkaccess
on | off-getrestartpowerfailure
-setrestartpowerfailure
on | off-getrestartfreeze
-setrestartfreeze
on | off-getremotelogin
-setremotelogin
[-f] on | off-getremoteappleevents
-setremoteappleevents
on | off-getcomputername
-setcomputername
computername-getlocalsubnetname
-setlocalsubnetname
name-getstartupdisk
-liststartupdisks
-setstartupdisk
path-getwaitforstartupafterpowerfailure
-setwaitforstartupafterpowerfailure
seconds-getdisablekeyboardwhenenclosurelockisengaged
-setdisablekeyboardwhenenclosurelockisengaged
yes | no-getkernelbootarchitecturesetting
-setkernelbootarchitecture
i386 | x86_64 |
default-version
-help
-printCommands
systemsetup
-setdate 04:15:02
systemsetup
-settime 16:20:00
systemsetup
-settimezone US/Pacific
systemsetup
-setnetworktimeserver
time.apple.com
July 30, 2020 | macOS |