Below are the two common ways to promote an existing macOS account to admin rights:
Via Terminal (CLI)
You’ll need to be logged in as an administrator or have the credentials of one in order to use sudo.
Step-by-step
bash
# 1. Open Terminal (Applications ▸ Utilities ▸ Terminal)
# 2. OPTIONAL – list current admins
dscl . -read /Groups/admin GroupMembership
# • All accounts listed in "GroupMembership" already have admin rights.
# 3. Add the user to the admin group
sudo dseditgroup -o edit -a <username> -t user admin
# -o edit → edit the group
# -a → add
# -t user → the type you’re adding is a user
# admin → the group we’re editing
# Alternative syntax (does the same thing)
# sudo dscl . -append /Groups/admin GroupMembership <username>
# 4. Verify
dscl . -read /Groups/admin GroupMembership
Notes & tips
• If you get “Group not found” errors, double-check the username (id <username> will show you if the account exists).
• Beginning with macOS 10.13 you can also use Apple’s higher-level tool: