Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 professional system and network administrators.

add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.