How can I create a new administrator name and password, or how can I recover it?

I can't find my administrator name and password on my computer.
Welcome to iMore.

Here is a guide
by Apple on how to reset your password and admin name. Thank you!
You're going to have to erase your hard drive or reinstall the operating system.

Original thread: https://forums.imore.com/threads/how-can-i-create-a-new-administrator-name-and-password-or-how-can-i-recover-it.381275/