Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

My hostname got out of sync with what it is set to in System Preferences - Sharing. From what I've read this is most likely related to a router having the ability to update my hostname.

Anyhow, I've read about and tried two different things:

  1. editing /etc/hostconfig
  2. using the scutil cmd

Both methods appear to solve my original problem, having my terminal properly display my hostname, but now I'm concerned about the side effects of having set my hostname in 3 ways and them not being in sync.

Am I fine? Should I just make Sys Prefs match what I've done with /etc/hostconfig and scutil?


share|improve this question
Patrix, what was your edit to this question? By any chance do you know the answer? If not, I'm thinking about restoring to factory settings. Thanks for any help! –  Erik W Nov 16 '11 at 3:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.