Specifications
Chapter 5 Setting General System Preferences 63
Viewing or Changing Startup Disk Settings
To view or change a computer’s startup disk, use the systemsetup tool (or the Startup
Disk pane of System Preferences).
To view the startup disk:
$ sudo systemsetup -getstartupdisk
To view available startup disks:
$ sudo systemsetup -liststartupdisks
To change the startup disk:
$ sudo systemsetup -setstartupdisk
path
Viewing or Changing Sharing Settings
To view or change Sharing settings, use the systemsetup tool (or the Sharing pane of
System Preferences).
Viewing or Changing Remote Login Settings
You can use SSH to log in to a remote server if remote login is enabled.
To see if the system is set to allow remote login:
$ sudo systemsetup -getremotelogin
To enable or disable remote login:
$ sudo systemsetup -setremotelogin (on|off)
or
$ serversetup -enableSSH
By default, Telnet access is disabled because it isn’t as secure as SSH. However, you can
enable Telnet access. See “Using Telnet” on page 36.
Viewing or Changing Apple Event Response
To see if the system is set to respond to remote events:
$ sudo systemsetup -getremoteappleevents
To set the server to respond to remote events:
$ sudo systemsetup -setremoteappleevents (on|off)
Creating the Groups Share Point
To create the Groups share point:
$ serversetup -createGroupsSharePoint