Imac asking for Apple user password

Hi all,

I have an imac 21.5 running macOS Sierra, issue as follows.


I have reset the computer ready to pass on the unit, on resetting the drive everything seemed to go fine except, I did forget to log out of the cloud so I can see my account where I can see all my details, Credit card , passwords the lot. When I click on the sign out button it asks for my apple id and password which is accepted, but then a pop up comes up asking for the Apple password which is not my apple id password, it seems to be an admin user which has been created during the factory restore.

I have attached a picture of the pop-up.

Also if I delete the device from my devices list on the apple id site will this log out the imac?

Any suggestions appreciated as I would like to pass the unit on, if not I would need to destroy the HDD to protect my personal data.

Thanks all



iMac 21.5″, macOS 10.13

Posted on Feb 16, 2023 6:52 PM

Reply
5 replies

Feb 16, 2023 8:24 PM in response to ridgeau

If not...


See if you can create a new administrator account by restarting the Setup Assistant:

  1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
  2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.
  3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.
  4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.
  5. Reboot by typing reboot then ↩ enter.
  6. Complete the setup process, creating a new admin account.


Be very careful to notice the spaces in those Terminal Commands.


Once you've done that the computer reboots and it's like the first time you used the machine, except all your data will still be there. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Imac asking for Apple user password

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.