How can I get admin access to a Mac without knowing the current password?
How to Create Admin Account on Mac | Reset Password on Mac, Restore Admin account on Mac,
Create a new admin account
- Hold ⌘ + S on startup.
- mount -uw / ( fsck -fy is not needed)
- rm /var/db/.AppleSetupDone.
- Go through the steps of creating a new account.
- After logging in to the new account, go to the Users & Groups preference pane.
- Select the old account, press the Reset Password...