grahampugh / erase-install

A script that automates downloading macOS installers, and optionally erasing or upgrading macOS in a single process. Watch the video!
https://grahamrpugh.com/2023/05/14/macaduk-presentation-eraseinstall.html
Apache License 2.0
834 stars 131 forks source link

Doesn't accept new admin account password after changing it[BUG] #519

Open RaananZemer opened 2 months ago

RaananZemer commented 2 months ago

Doesn't accept new admin user password after changing it saying Error - Password is invalid using older passwords does no work as well

RaananZemer commented 2 months ago

I found a way to bypass this issue I create another Admin account and use it to do the process and it works

grahampugh commented 2 months ago

Please supply logs.

RaananZemer commented 1 month ago

erase-install.log Hi, this issue happened again This is the log

grahampugh commented 1 month ago

Can you explain to me exactly what you did to get this issue? How exactly and when did you change the admin password?

Can you reproduce this when using startosinstall directly?

RaananZemer commented 1 month ago

I got this when I changed the user (admin) password password in 2 ways The first is when I reset it through recovery using a recovery key and immediately after that I installed and ran 'erase-install'.

The second change type was when I pushed for a password change through a JAMF policy - I can log in using that password so it is correct. I ran that policy a few weeks ago. *Even changing the password through the OS settings results in the same error

Running 'startosinstall' seems to be working after entering the password the process began and it updated the OS with no issues