This article details how you can make a user on a macOS device an admin or a standard-level user via Addigy.
As always, we recommend testing commands on a test device prior to using them on production machines so that you become familiar with how they function.
Note: You will need to use the "Account Name" and not the "Full Name" of the user you wish to promote/demote.
Promoting standard to admin:
To make a macOS standard user an admin, use the below command. Be sure to change the "USERHERE" field.
sudo dseditgroup -o edit -a "USERHERE" -t user admin
Demoting admin to standard:
Similarly to the above, be sure to change the "USERHERE" text with the user you will be role-swapping.
sudo dseditgroup -o edit -d "USERHERE" -t user admin
Running commands on device(s):
To run this command on a device, first navigate to the "Devices" page. From there, you can select a device and paste your command into the "Run command" box:
Temporarily grant admin status:
To grant a macOS user the level of admin temporarily, please follow our guide on this here:
How to Grant Temporary Admin Status