Probably common knowledge to most people who need to admin OS X machines a lot in anger, but it was new to me. Best way to set one's hostname (short of editing /etc/hostconfig):
sudo scutil --set HostName servername.example.com
Probably common knowledge to most people who need to admin OS X machines a lot in anger, but it was new to me. Best way to set one's hostname (short of editing /etc/hostconfig):
sudo scutil --set HostName servername.example.com