Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The OS X Keychain keeps on popping up on my Mountain Lion Macbook. As soon as I log into my user/admin account, I'm assaulted by three Keychain prompts, one after the other:

  1. Messages Agent wants to use the "login" keychain.
  2. Mac OS X wants to use the "login" keychain.
  3. Google Chrome wants to use the "login" keychain.

To my great misfortune, it is not accepting my User (Admin) password. I have no idea why. When I hit cancel, it cycles through these three prompts. I don't know if this is a virus, a Mountain Lion bug, or what.

I would appreciate it very much if someone could help me solve the issue. I have only one user account on my computer, it is the Admin account. The other account is the Guest account, which I am writing on currently. My user account is totally hosed. I can't do anything on it. I can't even reset my keychain. By "hosed" I mean I will try to delete my keychain, and I'll type in my password, but the program will just crash.

Here are some things I have tried:

  1. Deleting the keychain from user account (program crashed when I tried to reset it)
  2. I tried to delete my User/Admin account (remember, they are the same) but when I went to User Accounts, the "minus" sign was grayed out: I could add accounts, but I could not remove my Admin account.
  3. I do not have the install disc, so I don't know how to reinstall OS X without it.

Thanks so much. I have never ever experienced this before. Don't know if it's a virus, or what!

share|improve this question
2  
Have you tried repairing disk permissions? (open Disk Utility -> select disk -> Click Repair Disk Permissions) –  FDinoff Jun 22 '13 at 2:43
    
Thanks for your response. I'll try this later tonight and get back to you. –  ktm5124 Jun 22 '13 at 4:06
    
Hey, I'm able to use my computer again :-) Thank you so much. You have made a real impact on someone's weekend! –  ktm5124 Jun 22 '13 at 4:43
1  
Off topic to the original question; but, you cannot delete the last remaining administrator account. To start over, you'd need to first make a new admin, then log in with it to delete the original one. –  Kent Jun 23 '13 at 7:17

4 Answers 4

I had the same issue, and this is how I fixed it.

http://www.umkc.edu/is/support/services/macintosh/keychain.asp

The essential message by default your Mac OS logon password is the the same as the keychain password. Each time you change your Mac OS logon password your keychain password is automatically changed.

For me, my mistake, I opened the Keychain Access.app which is located in /Applications/Utilities, and within the menu bar under "Edit" is the option to change your Keychain password. Well, in my case, not knowing that it should remain sync'd with my logon, I attemted to make it, what I thought, was 'more safe' by giving it a different password.

Big mistake. The next time I logged on and attempted to use any app which had data stored in the keychain - browsers, messages, the OS compared my logon password and my keychain password and found them not the same. Thus all those pop-up prompts are generated.

The URL has the solution. In short:

  1. Launch Keychain Access
  2. In the upper left corner is a lock, if it is unlock - good. If it shows locked, click it, and enter the password to unlock the keychain
  3. On the left side under the heading Keychains, there should be an item named login, click it
  4. From the Edit menu in the menu bar choose 'Change Password for Keychain "login"
  5. In the window that appears, the 'old' password is the 'current' keychain password' - probably something you changed intentionally and possibly recently. For the 'new' password which must be entered twice, enter the password you use for Mac OS login. This will restore the two to be the same and in sync
  6. Restart your mac; those pop-ups will hopefully stop
share|improve this answer

Your keychain is corrupt. Follow the steps above, but instead of changing your password, delete the keychain. Note that this will remove all saved passwords on your computer (i.e. gmail.com), but that's not big deal. Just re-enter/save them. Here would be the steps...

  1. On the top right corner, click on the magnifying glass and type "Keychain Access.)
  2. On the top left corner of the keychain screen, you will want to delete the 'login' keychain. No need to reset the computer, the problem will go away.

I've seen this a ton of times with my mac clients and this solution works every time.

Best Regards, David Shay, CEO Active IT Solutiosn

share|improve this answer
    
Why would the keychain be corrupt? Your solution will work, I think, but it is not the best solution. So your clients have to re-enter all there passwords. I think that @Hunt is right, just sync the password with your account password. –  harianus Nov 24 at 9:05

Keychain Demystified:

What is it?

This is a subsystem BUILT-INTO OS X. It cannot be removed. It cannot be disabled. Every time you use a username and password and the app or OS asks you if you want to save this information, it's saved in your login.keychain file. Beyond that, depending on whom you ask the keychain is either..

An AES encrypted file with encryption based on the user's current password that saves all sorts of pertinent things like passwords, logins, certificates, and whatever else you want to throw it at.. OR A mysterious bitch-goddess who laughs at your keening wail of ignorance as you plead with her to no avail.

Where Is It?

The keychain for each user lives in ~/Library/Keychains/ and the primary one we're looking at is login.keychain The ~ above is UNIX nomenclature that refers to the 'current user's home directory'. So if you were user 'gschipp', then ~/Library/Keychains/ would mean /Users/gschipp/Library/Keychains/ This can be confusing, since there is a Library folder in the root of the drive. They keychain prompts that pop up are 99.999999999% of the time ONLY linked to the current user, and are therefore in their home directory within their Library folder.

Why Does It Do Me Like This?

Your keychain is an encrypted file. It is "closed" and "locked" when you're not logged in, but it "unlocks" and "opens" automatically when you login, so your applications can ask it cool stuff like, "what was the password for my AllThingsTchotchke.com account?". As long as you're logging in with the same password it was encrypted with, it'll unlock & open with no issues. Presuming you subscribe to the former definition above, when your password changes, the AES encrypted keychain no longer can "unlock" and "open", prompting you with a request to update the password, reset and start over, or continue only to be annoyed again later.

The Options

Note: These are part of the OS, again, built-in and immutable.

CONTINUE

This is the "I'm too lazy to read, ask, comprehend, and/or weigh my options" button. Typically this is the reason that people complain about their keychain prompting them repeatedly.

When to use? NEVER

RESET KEYCHAIN

This will ERASE the keychain. ERASE as in gone. Not recoverable. Not renamed. Not moved to the Trash. Straight up DELETED. The good news is that this will fix all the keychain issues and reset it to like the first time you logged in. The bad news is that all the passwords et al... gone forever.

When to use? ONLY If the user cannot remember their old password.

UPDATE KEYCHAIN

DING! Choose me! This is the route that people should always take. This is unlocking the encrypted file and relocking it with a new password. Choosing this will immediately prompt for a password.. their OLD password, i.e., the one they were logging into the Mac before their changed their password. If that password doesn't work, then it's an older password that it's locked with. Key trying them until they are forced to go with the RESET option. This simple step will take care of 99.999999999% of all keychain "issues".

When you use? ALWAYS, unless the user doesn't remember their previous passwords.

share|improve this answer

OS X Mavericks v10.9.1: Repeated prompts to unlock "Local Items" keychain

After logging in, you are repeatedly prompted to unlock the "Local Items" keychain in multiple apps.

Note: This article is about the "Local Items" keychain, not the "Login" keychain. Please see this article for issues with "Login" keychain password.

Follow these steps to prevent prompts to unlock the Local Items keychain.

In Finder Select Go > Go to folder (⇧⌘G)
In the window that appears, type the following:

~/Library/Keychains/

Click OK.
Look for a folder with a name similar to this "A8F5E7B8-CEC1-4479-A7DF-F23CB076C8B8".
Note: Each folder has a unique number.
Move this folder to the Trash.
Immediately choose Apple Menu () > Restart… to restart your Mac.

After restarting the computer, a new folder is created in the Keychains folder with a name similar to "4B29A0BB-599D-47FC-A2D1-42B5592B130B". There is no need to repeat the steps in this article, or to delete this folder. The new folder is expected and corrects the symptom described in this article.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.