Skip to main content
All CollectionsTroubleshooting and How-ToTroubleshooting
Mac: Teramind isn't monitoring the correct user or showing duplicate users
Mac: Teramind isn't monitoring the correct user or showing duplicate users
A
Written by Arick Disilva
Updated over 9 months ago

This can happen when a Mac switches to a different network and would affect Mac Agents prior to v0.1.230. When the Mac changes networks, it affects the hostname, which then affects the username referenced by the Hidden/Stealth Agent. As a result, a user may have multiple employee accounts in the Dashboard and the account that will be actively monitored in the Dashboard will change depending on the network the Mac is connected to.

  1. Make sure the “Use dynamic global hostname" setting is disabled under System Preferences > Sharing. For more information about this setting, you can consult Apple documentation.

  2. Open a Terminal window on the Mac. To do so, open Spotlight (the magnifying glass icon near the top-right corner of the Apple menu bar) and type terminal and press Enter.

  3. Type the following command to change the primary hostname of your Mac:

    sudo scutil --set HostName <new host name>

    where, <new host name> is your fully qualified hostname, for example, myMac.

  4. Type the following command to change the Bonjour hostname of your Mac:

     sudo scutil --set LocalHostName <new host name>

    where, <new host name> is the name usable on the local network, for example, myMac.

  5. (Optional) If you also want to change the computer name, type the following command:

    sudo scutil --set ComputerName <new name>

    where, <new name>is the user-friendly computer name you see in Finder, for example, myMac.

  6. Flush the DNS cache by typing:

    dscacheutil -flushcache
  7. Restart your Mac.

  8. After rebooting, you should see the Mac come online in the Dashboard. You may then delete or disable monitoring for the other accounts linked to this Mac in your Dashboard. Check out this article to learn how to remove a user/computer: How to delete or restore an employee / user / computer? And this article to learn how to disable monitoring for a user/computer: How to turn monitoring on/off for a user or computer?

Did this answer your question?