Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I changed my MacBook Pro's hostname, but the login screen still shows the old hostname. Please could anyone help me to change this.

share|improve this question

migrated from serverfault.com Jul 27 '10 at 12:54

This question came from our site for system and network administrators.

Take a look at Mac OS X Hostname Determination, in short adjust your HOSTNAME in /etc/hostconfig and not only in Sharing-Preferences.

(Actually, there are 2 places in sharing-preferences where you may change your hostname, first the big textbox when you open up the preferencepane and second after you click on edit.)

share|improve this answer

On 10.4 and 10.5 check the file /Library/Preferences/SystemConfiguration/preferences.plist on the bottom there are these lines:

        <key>HostNames</key>
        <dict>
            <key>LocalHostName</key>
            <string>*********</string>
        </dict>
    </dict>
    <key>System</key>
    <dict>
        <key>ComputerName</key>
        <string>***********</string>
        <key>ComputerNameEncoding</key>
        <integer>0</integer>
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .