
Sharing Settings
You can use the systemsetup command to view or change settings that would otherwise be set using 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
To enable or disable remote login:
$ sudo systemsetup
or
$ serversetup
Telnet access is disabled by default because it isn’t as secure as SSH. You can, however, enable Telnet access. See “Using Telnet” on page 18.
Viewing or Changing Apple Event Response
To see if the system is set to respond to remote events:
$ sudo systemsetup
To set the server to respond to remote events:
$ sudo systemsetup
International Settings
You can use the serversetup command to view or change language settings that would otherwise be set using the Sharing pane of System Preferences.
Viewing or Changing Language Settings
To view the current primary language:
$ serversetup
To view the installed primary language:
$ serversetup
To change the install language:
$ sudo serversetup
To view the script setting:
$ serversetup
Chapter 4 Setting General System Preferences
35