Find standard or admin user on mac

expand collapsive

Hi there, I am new to Hexnode and need some assistance. We have a couple of macs enrolled into the portal. Our macs have multiple users using each device. Can we remotely see which users have admin access and which don’t from Hexnode?

All Replies

  • Hexnode

    Ethan Miller


    Hi @timo-liam,
    Thank you for reaching out to us.
    You can fetch the list of admin users with custom scripts for macOS devices through Hexnode. To do so, navigate to Execute Custom Script under Actions in the device details page and upload a shell script file with the command below:

    You can also check whether a particular user is an admin or not using the command:

    You can view the output of the commands by clicking on Show Output under Status in the Action History tab of the device details page.


    Alternatively, you can enable Live Terminal on your devices to run these commands from Hexnode. You’ll be able to see the results in real-time without using custom scripts.

    Hope this answer helps you.

    Ethan Miller
    Hexnode UEM

  • Participant

    Timo Liam


    Thank you for the quick response, Ethan. We expect to onboard new employees to our company soon. We plan to schedule their shifts such that they can share macs with different user accounts. Can we add user accounts to the device remotely from the portal to do this?