I have a bunch of OS X Yosemite Mac Minis that are used as slaves by a Jenkins master machine to run Selenium tests using Google Chrome. These slave machines get restarted on a daily basis. After the restart, the machines are at a login screen asking for a username and password. Just got off a user with 'Setup User'. Problem was he had auto login enabled and Setup User was selected. His machine started and startup bar got to half and went black. Disconnected TB-connected dock, restarted and got a normal 'select user' login window again. Deselected Startup User in Account window. Restarts are working again.
Before you begin
Make sure that your Mac is connected to the internet and using macOS Catalina or later. If using an earlier macOS, follow the password-reset steps for macOS Mojave or earlier.
Choose a reset option from the login window
To see one of the following password-reset options, click the question mark next to the password field in the login window. If you don't see a question mark, enter any password three times.
If you see the option to reset using your Apple ID
- Click the option to reset using your Apple ID, then proceed as follows:
- If your Mac restarts, skip to the next section, “If you see the option to restart and show password options.”
- If your Mac doesn't restart, but immediately asks for your Apple ID credentials, enter that information and click Reset Password.
- If you're asked to create a new keychain to store the user's passwords, click OK to restart your Mac.
- If you're asked to select an admin user you know the password for, click “Forgot all passwords?”.
- If you see a Reset Password window with the option to Deactivate Mac, click Deactivate Mac, then click Deactivate to confirm.
- Enter your new password information, then click Next.
If this window shows multiple user accounts, click the Set Password button next to each account name, then enter the new password information for each account. - When the password reset is completed, click Restart.
If you see the option to restart and show password options
- Click the option to restart and show password reset options, then wait for your Mac to restart.
- You're then asked to take one of these steps:
- Sign in with your Apple ID. You might also be asked to enter the verification code sent to your other devices.
- Enter your FileVault recovery key. You received it when you turned on FileVault and chose to create a recovery key instead of allowing your iCloud account (Apple ID) to unlock your disk.
- Select a user that you want to reset the password for, then click Next.
- Enter your new password information, then click Next.
- When the password reset is completed, click Restart.
If you see the option to reset using your recovery key
- Click the option to reset using your recovery key, then enter your FileVault recovery key. You received it when you turned on FileVault and chose to create a recovery key instead of allowing your iCloud account (Apple ID) to unlock your disk.
- Enter your new password information, then click Reset Password.
If you can't reset your password
Os X Restarts Asking For Setup User Password Using
Learn what to do if you can't reset your password.