Find standard or admin user on macSolved

Participant
Discussion
3 years ago

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?

Replies (3)

Marked SolutionPending Review
Hexnode Expert
3 years ago
Marked SolutionPending Review

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.

Output

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.

Cheers!
Ethan Miller
Hexnode UEM

Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

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?

Marked SolutionPending Review
Hexnode Expert
3 years ago
Marked SolutionPending Review

Of course, with the Create User Account action from Hexnode, you can remotely add admin accounts on your macOS devices.

Create user accounts to add new user accounts on devices remotely

Check out how to add user accounts on macOS devices to match your use case.

Remotely add users to your Mac from Hexnode

Hope this answer suits your requirements.

Ethan Miller
Hexnode UEM