Open zenkarsha opened 1 year ago
Solved.
https://superuser.com/questions/1648047/how-to-set-up-user-account-from-terminal-in-m1-mac-big-sur
Open vm by recovery mode and open terminal, then check your folder, and use script like:
dscl -f "/Volumes/Macintosh HD/private/var/db/dslocal/nodes/Default" localonly -passwd /Local/Target/Users/myusername PASSWORD
it will need you to insert your old password (the blank password), if it didn't work, try again.
I'd reset my macvm password to empty pwd, after restart vm, it can not login by simply press enter button. But it can pass the recovery choose disk asking permission password dialog.