
To change the computer name:
$ sudo systemsetup
or
$ sudo networksetup
or
$ sudo serversetup
To validate a computer name:
$ serversetup
Viewing or Changing the Local Host Name
To display the server’s local host name:
$ serversetup
To change the server’s local host name:
$ sudo serversetup
Viewing or Changing the Rendezvous Name
To display the server’s Rendezvous name:
$ serversetup
To change the server’s Rendezvous name:
$ sudo serversetup
The command displays a 0 if the name was changed.
Note: If you use the Server Admin GUI application to connect to a server using its Rendezvous name, then change the server’s Rendezvous name, you will need to reconnect to the server the next time you open the Server Admin application.
Chapter 5 Network Preferences
45