Add/Remove user from admin group OSX

Add user as an administrator using terminal

  1. Open Terminal located in /Applications/Utilities
  2. Type the command
    sudo dseditgroup -o edit -a UserName -t user adminWhere UserName is their actual AD username.

Remove user as an administrator using terminal

  1. Open Terminal located in /Applications/Utilities
  2. Type the command
    sudo dseditgroup -o edit -d UserName -t user adminWhere UserName is their actual AD username.

Leave a Reply