How do I override administrator password on Mac?
How to get admin password on a school or work mac
Click on Utilities in the Apple menu and select Terminal. At the Terminal prompt, type 'resetpassword' then hit enter. This will launch the reset utility, which allows you to select a drive, a user, then a new password and password hint for your admin user. After saving, go to the Apple Menu and click Restart.