Difference between revisions of "Add or Remove Administrator"

From AFP548 Wiki
Jump to navigation Jump to search
 
Line 13: Line 13:
  
 
=== Add user as an administrator using Command Line ===
 
=== Add user as an administrator using Command Line ===
#First make sure the [[Add Computer To Domain or Remove Computer From Domain|Mac is on Active Directory]].
+
#First make sure the [[Add or Remove Mac from Active Directory|Mac is on Active Directory]].
 
#Open '''Terminal''' located in '''/Applications/Utilities'''
 
#Open '''Terminal''' located in '''/Applications/Utilities'''
 
#Type the command<br /><code>sudo dseditgroup -o edit -a '''UserName''' -t user admin</code>
 
#Type the command<br /><code>sudo dseditgroup -o edit -a '''UserName''' -t user admin</code>

Latest revision as of 19:12, 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[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.