Terminal Host Name unknown####

Whenever i log into my termianl i noticed that i see that my hostname says unkown040ccedf8e88: ny name, is this normal? because i know that my friends MPA's have a different host name, and when i type in "hostname" on terminal, it gives me that unkown###

MacBook Air, Mac OS X (10.7.3)

Posted on Mar 21, 2012 1:58 AM

Reply
2 replies

Mar 21, 2012 9:21 AM in response to Jay from the Bay

You can change the hostname in the System Preferences of Lion (client):


Go to:

- System Preferences -> Sharing

- See "computer name" at the top, enter something other than what's there.

- If you click "Edit" underneath, you should get something like hostname.domain. I usually see: computername.local


When you use hostname, you should get the value given when you click "Edit", e.g computername.local


It could be that what's currently there is too long and/or contains an illegal character. While a bit old and refers to a specific case of binding to Active Directory, according to this:

Use computer names and passwords that are less than 16 characters in length, and which only contain alphanumeric (A–Z, a–z), numbers (0–9), - (dash) and/or _ (underscore) characters when binding with Directory Utility


I would try a new computer name in accordance with that those rules to see if it corrects the problem: alphanumeric (A–Z, a–z), numbers (0–9), - (dash) and/or _ (underscore)


I don't use spaces either.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal Host Name unknown####

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.