golferdawg17

Q: keychain issues with resetting

For one of the users on my iMac, a password was changed.   Now, for this particular user, we constantly get error messages involving 'login' keychain.   I tried to reset the keychain; but, I keep getting errors.  first it gave me a Unix[Invalid argument], then it gave me a 'specified keychain cannot be found" message.  I'm running OSX Version 10.9.5.  Can you please provide instructions or a link that addresses these error messages.   I have a feeling this particular keychain has now been deleted based on the error message.  If that's the case, how do I create a new keychain and make sure it is tied to all the files / programs for this particular user?  Many thanks.

iMac (27-inch Mid 2011), Mac OS X (10.7.4)

Posted on Jan 11, 2015 6:20 PM

Close

Q: keychain issues with resetting

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Jan 12, 2015 10:23 AM in response to golferdawg17
    Level 10 (208,000 points)
    Applications
    Jan 12, 2015 10:23 AM in response to golferdawg17

    If you've just changed your login password in Recovery mode, follow these instructions. Otherwise, see below.

    At some point, you may have reset your keychain to default in Keychain Access. That action would have caused your login keychain to be renamed.

    Back up all data before proceeding.

    In Keychain Access, delete the login keychain from the keychain list. Choose Delete References when prompted, not Delete References & Files.

    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:

    ~/Library/Keychains

    In the Finder, select

              Go ▹ Go to Folder...

    from the menu bar, paste into the box that opens (command-V), and press return. A folder will open. Rename the file "login.keychain" in that folder to something like "login-old.keychain". Rename the file "login_renamed_1.keychain" to "login.keychain". You can then close the folder.

    Back in Keychain Access, select 

              File Add Keychain...

    from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file you named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred.