1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/osx/systemsetup.md
2014-03-04 23:28:29 +11:00

24 lines
619 B
Markdown

# systemsetup
> Configure System Preferences machine settings
- Enable remote login (SSH)
`systemsetup -setremotelogin on`
- Specify TimeZone, NTP Server and enable network time
`systemsetup -settimezone {{US/Pacific}}`
`systemsetup -setnetworktimeserver {{us.pool.ntp.org}}`
`systemsetup -setusingnetworktime on`
- Make the machine never sleep; restart on freeze & power failure
`systemsetup -setsleep off`
`systemsetup -setrestartpowerfailure on`
`systemsetup -setrestartfreeze on`
- List valid startup disks, specify a new startup disk
`systemsetup -liststartupdisks`
`systemsetup -setstartupdisk {{path}}`