Category Filter

Script to Revoke/Give Admin rights to Standard User in Mac

Administrative privileges are necessary for making system-wide changes like adding/managing users, adding/deleting programs etc. Using the following scripts, you can revoke or grant admin rights to a user through Hexnode.

Disclaimer:


The Sample Scripts provided below are adapted from third-party Open-Source sites.

Revoking admin rights of an account

Giving admin rights to a standard account

Notes:

  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.