So if you want to properly change your Mac’s hostname without macOS mollycoddling you and changing it back, use:
sudo scutil --set HostName <hostname>
(Not hostname --set <hostname>).
*smh*
Edited 41d ago
So if you want to properly change your Mac’s hostname without macOS mollycoddling you and changing it back, use:
sudo scutil --set HostName <hostname>
(Not hostname --set <hostname>).
*smh*
@aral there used to be a method for this in System Preferences but I haven’t looked at it since they changed everything to look more like iOS