You may start to freak out if you ever forget the password to log into youror , but it's really not that big of a deal. All Macs include a built-in password reset tool that is incredibly easy to use.
To get started, you will need to restart your computer. Press the Command and R keys at the same time when the grey screen appears and hold them until you see the Apple logo. A small loading bar will appear under the logo. Sit tight as your system boots into Recovery Mode.
Click the Utilities tab in the top menu bar, select Terminal, type resetpassword and press Enter. Close out the Terminal window and behind it you will find the Reset Password utility. All you have to do now is select the user account you want to reset, enter a new password or leave it blank and click Save. Then just simply restart the computer from the Apple menu and login with your new password. It's as easy as that.
This method is very useful if you ever forget your password or if you need to get into a child's password protected computer. It can also be used, however, for malicious purposes. Here's how you can protect against that from happening.
Apple - USE TAG
reading•Bypass and reset the password on any Mac in no time
Jan 20•Been sleeping on smart lights? Time to wake up
Jan 19•Here's every iPhone ever made from 2007 to today
Jan 19•iPhone XS, iPhone XR: What you need to know about Apple's Smart Battery Case
Jan 18•Qualcomm didn't have all the license negotiating power, exec testifies