If you log into your Mac using your Apple ID and iCloud, you need to create a new, separate password for your Mac before you set up two-factor authentication. After you change your Mac login password, you can set up two-factor authentication.
Use these steps to change your Mac login password. If you're not sure, you can also use these steps to learn if you’re using your Apple ID to log in to your Mac:
- Choose Apple menu () > System Preferences, then click Users & Groups.
- Click and enter an administrator name and password.
- Select your user account from the list on the left.
- Click Change Password.
- If you see a message that asks you to change your iCloud password or stop using your iCloud password, then click Use Separate Password. Follow the onscreen steps to create a new password.
- If you don’t see a message that asks you to change your iCloud password, then you’re not using your Apple ID password to log in. You don't need to change your password.
- After you change your password, set up two-factor authentication.
If you don't remember your Apple ID, you can find your Apple ID.