Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I close the lid on my MacBook Pro, running 10.6.2, and open it again, Mail, Cal, and/or Adium will pop up the keychain unlock dialog. Even if they are minimized to the task bar. The unlock dialog squats there, modally, until I oblige it with a password.

Does anyone know how to change this behavior?

share|improve this question
up vote 1 down vote accepted

First, make a backup of login.keychain:

cp ~/Library/Keychains/login.keychain ~/login.keychain.bak

Then delete it:

rm ~/Library/Keychains/login.keychain

the reason to keep a backup is in case you want to restore your saved passwords. This will stop the prompts however.

share|improve this answer
1  
That has rather dramatic consequences. I think you should edit your answer to warn people about the loss of all their saved passwords, and then I'll accept it. – bmargulies Dec 15 '09 at 1:09
    
create a backup of your keychain :) – Molly7244 Dec 15 '09 at 5:20

This is often because the keychain security level has been set too high...

Go into Keychain Access (Utilities --> Keychain Access)...

1) Keychain Access Menu --> Keychain First Aid --> Authenticate, Choose Repair Keychain --> Start

2) Edit Menu --> Keychain Settings * Update the "Lock After XX Minutes of inactivity" to whatever settings you want * Most likely, you will want to turn off "Lock when sleeping".

share|improve this answer
    
settings were already as you recommend here. – bmargulies Dec 15 '09 at 16:33
    
Than chances are that the keychain password is DIFFERENT than your computer's login password. You can either recreate your keychain (John T's answer), or reset the keychain password to match. – Benjamin Schollnick Dec 15 '09 at 20:54

At least on Mac OS X through 10.5.x, this is NOT the default behavior.

However, if you are using SSHKeychain or a third-party tool, this may lock the login keychain when the laptop goes to sleep.

share|improve this answer
    
no such tools installed. Also, I do have 'require password when awake from sleep'. I don't mind the initial prompt to unlock the keychain, it's the individual app prompts that do the pecking. – bmargulies Dec 15 '09 at 2:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .