By Keith Mitnick on Saturday, 13 September 2014
Category: General

Use the scutil command to set the Hostname, Computer name, and Bonjour name

To set the hostname:

scutil --set HostName server.yourcompany.com

To set the computer name:  Used via network browsing

scutil --set ComputerName “Keith’s Computer”

To set the local host name:  Used by Bonjour

scutil --set LocalHostName “Keith’s Computer”

Leave Comments