My Mac automatically login with the administrator user but i don't remember the password to login using SSH.
How can i reset the password?
I have no AppleID and the recovery console and the resetpassword terminal command is not working... Command not found.
31 Answer
If you can't get the recovery partition to boot, you'll need to make a bootable USB drive and boot from that.
You can't reset the password from a regular terminal, you have to boot into some other OS.
Note: You will lose your keychain...