Fixing Mac computer names in LANDesk Inventory

Fixing Mac computer names in LANDesk Inventory

IMPORTANT:  Macs are typically assigned their computer names by DNS in LANDesk which causes problems in our environment.  In order for the Mac to show up properly in LANDesk it is recommended that you manually assign your Mac a hostname.

Instructions

  1. Log into the desired macintosh as a local administrator
  2. Under Sharing within System Preferences, change the computer name to match the name within AD
  3. Run the Terminal program
    • execute: sudo nano /etc/hostconfig
      • You will be asked to authorize, use the credentials for the local admin account you are currently logged in as.
      • Add the line:
        HOSTNAME=-AUTOMATIC-

      • Hit Control+O, then press enter to save the changes
      • Hit Control+X to exit nano
    • Enter:
      sudo scutil --set HostName "computername"
      where computername is the name of the machine on the Tufts domain.
    • Exit terminal
  4. Allow 10-15 minutes for the machine to update in the LANDesk Inventory after restarting.

Information on the Tufts IT Knowledgebase is intended for IT Professionals at Tufts.
If you have a question about a Tufts IT service or computer/account support, please contact your IT support group.