Sample Header Ad - 728x90

Why is HostName not set by default?

1 vote
2 answers
201 views
It looks like be default, if you run scutil --get HostName, you get:
HostName: not set
In the manual of scutil, it reads: > HostName The name associated with hostname(1) and > gethostname(3). Yet, while running scutil it reports the HostName is not set, simply running hostname reports correctly: > Dans-MacBook-Pro.local How come? Are hostname and scutil --get HostName not related after all? And should I have to worry about something? Do I need to set the HostName after all?
Asked by Dan (624 rep)
Jan 7, 2025, 04:02 PM
Last activity: Jan 7, 2025, 07:32 PM