Have you lost your Mac password? Are you unable to get into your computer because of it? Apple lets you restore your password if you have the system disks that came with the computer, or–if you have a newer non-optical disk machine like a Macbook–with the built-in system recovery mode.
If you aren’t able to access your system disks or the recovery mode, there’s a couple of tricky ways to reset your password. Both methods are explained in a video by Quinn Nelson on his YouTube channel, and they’re pretty great ways to reset a lost password.
A word of warning, though: this is also a way a malicious person can gain access to your Mac. If you have sensitive documents on your Mac, you owe it to yourself to use FileVault or a third-party encryption tool to add another layer of protection that doesn’t require your admin password.