Mac Account/Login Disappeared...

Hi. After a short break during a days work on my iMac I returned to the usual login screen where my profile name and image appears - however when entering my password it was denied... just repeating the "shake" animation on the password field after each attempt. I restarted the computer and now my user account does not appear at all and instead a blank profile image with the text "Other..." below it is seen, and when clicked, a "Name" field and "Enter Password" field appears. Entering my account name and password here is rejected every time... and I am unable to log in at all. Has anyone experienced this problem before? Any advice on how I can log back in, access my files and return using my iMac normally would be greatly appreciated! Thanks in advance.

iMac, macOS Sierra (10.12.6)

Posted on Sep 1, 2017 3:08 PM

Reply
9 replies

Dec 26, 2017 8:14 PM in response to LeifVarvick

I have this problem too, and find out the solution. At least works for me...


The idea is to delete a config file, and make the Mac think it is a new Mac, then the Mac will bring me to the setup screen, just like what you see in a new Mac.


After that, the Mac will create a new admin account for you, and with this account, you can create back your lost account, or recover any file. The whole steps only spend me 15 minutes.


After the fix, make sure that your Mac got at least 2 GB of free space.


here is the detail instruction

Mac password / account recovery (English subtitle) - YouTube

Sep 2, 2017 12:35 AM in response to tygb

This solution looked promising but when I ran 'resetpassword' the app started normally and asked to "select a user to reset the password for:" ...but nothing was listed, just a blank box, no users/accounts... So I think now I will copy the most recent files I've worked on via the Terminal to an external drive and then restore my Mac from a Time Machine backup that was made a few days ago, I'll loose some work and hours but oh well, could be worse...


Definitely a very strange failure, I hope it doesn't happen again as it appears there isn't a fix.

Sep 1, 2017 11:11 PM in response to LeifVarvick

Please contact in apple support , entering in recovery mode , selecting language , click on utilities > terminal > resetpassword and click on enter , then upcoming steps are there and lengthy , I tried in my system was successful and I have to create a new login keychain in the end .

As I was having four digit iCloud verification code in records , I was able to configure iCloud Keychain successfully .

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.

Mac Account/Login Disappeared...

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