What to do if you forgot the admin password from your Mac? Not a problem, it can be easily reset from recovery mode macOS.
But before proceeding to reset a password this way, it should be borne in mind that the password on the Mac, you can restore the also with an Apple ID after several invalid attempts.
How to reset the password in macOS Sierra:
Step 1: Restart the computer in recovery mode, hold down when powering the Mac Command key+R.
Step 2: Go to the tab “Utilities” and select Terminal.
Step 3: After the boot Terminal, enter the following command: “resetpassword”.
Step 4: Press Return to confirm and select the account whose password needs to be reset.
Step 5: Enter a new password and a hint (if needed) and click Next.
Select “Reboot” and after the computer is booted, log in with your new password.
Simple enough, but not too safe, as absolutely anyone can access your personal information. To avoid this, it is recommended to set a password on recovery mode. But if you forget this password, you solve the problem will be much harder.