Add or Remove Administrator
Revision as of 19:12, 27 May 2013 by Bw38 (talk | contribs) (→Add user as an administrator using Command Line)
This article describes how to add or remove users as administrators in OS X.
Contents
Adding/removing users as Administrators in Mac OS X[edit]
User who already has account on Mac[edit]
- Click on Apple in top left corner.
- Click on System Preferences.
- Click on Users & Groups.
- Make sure the lock in the bottom left corner of the window is in an unlocked position.
- Select the user.
- 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]
- First make sure the Mac is on Active Directory.
- Open Terminal located in /Applications/Utilities
- 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]
- Open Terminal located in /Applications/Utilities
- Type the command
sudo dseditgroup -o edit -d UserName -t user admin
- Where UserName is their actual AD username.