How to Reset a Forgot Password in Mac OS High Sierra, Sierra, El Capitan, Yosemite, by Using an Apple ID
Forgetting a user account password can be a major frustration for Mac users, but fortunately there are a some simple and secure ways to recover and reset a lost password on any Mac. One of the best ways to handle this situation and reset a lost password is to use an Apple ID, which allows a user to reset a Mac OS login password by using the same Apple ID that is used for the App Store, iTunes, iCloud, and Apple Support.
This method works for resetting forgotten passwords in all new versions of MacOS and Mac OS X, including MacOS High Sierra, macOS Sierra, Mac OS X El Capitan, OS X Yosemite, Lion, Mountain Lion, and Mac OS X Mavericks, and is extremely fast and easy, making it a preferential choice for most users rather than going the command line route of resetting a OS X password with the passwordreset tool, or by creating a new user account.