Keychain trouble after changing password

keychain

I have recently migrated from a time machine backup of my previous mac. I have three different accounts on both my macs and two of these seem to work well. However, when I log in to the third account, I have some problems, especially on the new mac.

I have changed the password for all three users using the dialogue in system preferences.

Every time I log in, I see a screen that asks me to change my keychain password, or create a new keychain. When I choose to change my password, no input seems to be valid. When I create a new keychain, that does not seem to help either.

After choosing either continue logging in or choosing to create a new keychain, my mac will then ask me to log in with my apple id, which I can also decline.

If I continue past the apple id dialogue, my mac tells me: "Setting Up Your Mac…" which is pretty scary, considering it is already "Set up". Fortunately so far it has not wiped my HD.

It then logs me in into my user account and most of the time I get a lot of messages telling me that this and that process wants to access my login keychain.

I have tried deleting my keychain folder located at ~/Library/Keychains, as well as changing my password for the different keychains and checking the synchronise my keychain my user account checkbox under the preferences of the keychain utility. I have also tried to use the "Reset My Default Keychain" button. Two of these strategies are listed here. Unfortunately none of these seem to work.

Sometimes when I try to change the keychain password I find that I have to use my old password, sometimes the new one, and sometimes no input appears to get accepted (the last case happens when I try to change it from the dialogue that pops up when I try to log in).

On my previous mac I was also experiencing problems with this account. In particular it seems that any system preferences that I modified for would only last for one session, and would be forgotten when restarting my mac. One example is the hiding of the dock and also on my new mac osx forgets that I want to hide the dock.

Question: Does anybody know what is causing all this?

Strongly related: How do I delete or fix my Keychain after changing my password?

Best Answer

There might be a problem with the users home folder permissions.

Repairing Disk Permissions in Disk Utility, will only affect things outside your Home folder, though.

There is a home folder reset routine if you boot into Recovery (cmd+r).

Once booted, Open Terminal from the Utilities menu.

Type resetpassword and hit return. (no worry you will NOT be resetting the password)

Select your hard disk, then the user.

Click the Reset Home Folder Permissions and ACLs button.

Quit the utility and restart.