Add or Remove Administrator

From AFP548 Wiki
Revision as of 19:12, 27 May 2013 by Bw38 (talk | contribs) (→‎Add user as an administrator using Command Line)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article describes how to add or remove users as administrators in OS X.

Adding/removing users as Administrators in Mac OS X[edit]

User who already has account on Mac[edit]

  1. Click on Apple in top left corner.
  2. Click on System Preferences.
  3. Click on Users & Groups.
    1. Make sure the lock in the bottom left corner of the window is in an unlocked position.
  4. Select the user.
  5. Check the box "Allow user to administer this computer"

If the user has never logged in, you can add them using the Directory Utility. However, by using Directory Utility, the user account will only have administrative access so long as they are plugged into the network.

Add user as an administrator using Command Line[edit]

  1. First make sure the Mac is on Active Directory.
  2. Open Terminal located in /Applications/Utilities
  3. Type the command
    sudo dseditgroup -o edit -a UserName -t user admin
    Where UserName is their actual AD username.

Remove user as an administrator using Command Line[edit]

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