Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I get repeated pop-ups saying Safari wants to use the "login" keychain

I then enter the password enter image description here

But the system always keeps on telling me it's the wrong password, which I'm sure it's not enter image description here

This is what the Details reveal: enter image description here

What is going on here, and how can I fix it?

I'm running OS X 10.6.8.

share|improve this question
    
And this only happens in safari? You can open your Keychain otherwise! If yes, in the key chain look for safari forms autofill, and show password for it. –  Jadav Mar 28 '13 at 22:26

2 Answers 2

up vote 6 down vote accepted

Somewhere along the lines either your user account password has changed or your login.keychain has become corrupted. By default Keychain is set to sync it's password with your user account's password, allowing it to unlock when you login to your account, which in turn provides applications & processes access to it's contents. When you change your password in the Users & Accounts section of System Preferences it communicates the change to Keychain Access, which in turn updates the login.keychain password.

Problems like this typically arise when a user account password is changed outside of Users & Accounts in System Preferences, by using the Reset Password utility in each OS X installer or by some other means. When you change the password using one of these alternate methods the change is not communicated to Keychain Access. When you login and start using the system following one of these changes you will continuously receive prompts similar to the one you've posted.

There are a couple of methods for getting around this and getting things working properly again:

The first method is to try any possible passwords that you may have used in the past. Keychain doesn't have a lockout mechanism that would lock you out after X many tries so feel free to try as many as you can recall. Assuming this works, and it accepts one of the passwords, you can update the keychain password to match your login password. This can be accomplished by opening Keychain Access (located in /Applications/Utilities), clicking on Edit in the menubar and choosing "Change Password for Keychain 'login'". This will allow you to enter the original password (whichever one just worked for you) followed by the new password, which should be the same password you use for logging in and/or doing software updates.

The second method is to create a new keychain. You can navigate to /Users/~/Library/Keychains, where ~ represents your user's short name, and locate the login.keychain file. Change the name of this file to login.keychainold or something similar. Once you've changed the name log out of your user and log back in. Within a few seconds one of the many processes should detect that login.keychain no longer exists and prompt you to create one, possibly with the verbiage "reset to system defaults", follow the prompts to accomplish this. When it asks for a password you will enter your login password, the same one you just used to log back in.

share|improve this answer
    
Thanks for the detailed response (and sorry for my late response). It seems to work with your first solution, changing the password of the keychain. –  Alex Ixeras May 10 '13 at 2:47
    
Great! Glad to hear you were able to update the password rather than having to kill off the whole keychain. –  Mr Rabbit May 10 '13 at 15:28

I found the correct and detailed information on this issue on blog bookingtohosting. Reason 1. The problem is that your "login" keychain is locked. So, every time Safari wants to access it (for whatever reason), it has to get a password to temporarily unlock it. But, if you keep "login" unlocked permanently, your problem will be solved. Here are steps to permanently unlock your keychain:

  1. Open Keychain Access (located in /Applications/Utilities)
  2. Go to the "Keychain Access" menu and select "Preferences"
  3. Click the "First Aid" tab

Pic-30(b)

  1. Make sure the "Synchronize login keychain password" box is checked
  2. Close the Preferences window
  3. Go to the "Keychain Access" menu and select "Keychain First Aid"

Pic-30(c) 7. Enter your username and password 8. Click the "Repair" button and click "Start".

Pic-30(d)

  1. Now, the password for 'login' will be the same as the password for your account.
  2. Go to the "File" menu and select "Unlock Keychain 'login'".

  3. Type your account password and then press OK.

  4. You are done! Safari shouldn't ask you for a keychain password, and neither should any application, for that matter.

Reason 2. Your Keychain preference files may be corrupted. Locate this file

/Users/YourName/Library/Preferences/com.apple.keychainaccess.plist.

Drag that file from your Preferences folder to the Trash and restart your Mac.You need not to fear losing the data stored in your keychain when you move/Trash this file. The com.apple.keychainaccess.plist file doesn’t contain any of your keychain data.

If that doesn't help...

1) Quit Safari. 2) Open Keychain Access. (Applications/Utilities) Find the "Safari AutoFill" item. Delete it.

Pic-30(e)

3) Relaunch Safari. Next time it asks for authorization, click "Always Allow".

If Safari is set to automatically fill in forms for you, you can turn off this feature and delete any information that Safari stored.

Open Safari if it is not already open. Choose Safari > Preferences, and then click AutoFill. Click the three check boxes next to the “Using Info from my Contacts Card,” “User Names and Passwords” and “Other Forms” options to uncheck them. This prevents Safari from using AutoFill when you visit websites that have forms for you to fill in. Now next to “Other forms,” click Edit. A list of websites where you normally fill in information such as your name and email address appears. Select individual websites and click Remove, or click Remove All. Click Done.Continued...

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.