Change system names on macOS

From term (or equivalent), copy and paste:

To change your public Host Name (i.e., jeff.oozou.com): sh sudo scutil --set HostName

To change your local Host Name (i.e., jeff.local): sh sudo scutil --set LocalHostName

To change your Finder Computer Name (i.e., Jeff's MBP): sh sudo scutil --set ComputerName

Finally, flush your DNS cache to force refresh: sh dscacheutil -flushcache

Jeff

Get our stories delivered

From us to your inbox weekly.