Difference between revisions of "Add or Remove Administrator"

From AFP548 Wiki
Jump to navigation Jump to search
(Created page with "This article describes how to add or remove users as administrators in OS X. __FORCETOC__ == Adding/removing users as Administrators in Mac OS X == === User who already has ac...")
 
Line 22: Line 22:
 
#Type the command<br /><code>sudo dseditgroup -o edit -d '''UserName''' -t user admin</code>
 
#Type the command<br /><code>sudo dseditgroup -o edit -d '''UserName''' -t user admin</code>
 
#:Where '''UserName''' is their actual AD username.
 
#:Where '''UserName''' is their actual AD username.
 +
 +
[[Category:Guides]]

Revision as of 18:54, 27 May 2013

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

Adding/removing users as Administrators in Mac OS X

User who already has account on Mac

  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

  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

  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.