How to Reset Your Mac Password
Step-1) Boot into Single User Mode and remove a setup file
Restart the Mac holding down the Command+S keys, this will take you into Single User Mode and it’s Terminal interface
You’ll need to check the filesystem first:
fsck -fy
Next, you must mount the root...