Anyone else with Lion found that after a while the System Preference panes won't unlock (if you have lock turned on)? That is really bugging me - and the only fix I've found was to reboot the system.
I got it working again but not sure how. I tried the trick of deleting ~/Library/Preferences/com.apple.HIToolbox.plist and then rebooted. It works now after the reboot.
I also removed my Common Access Card (CAC) from the reader. Didn't think about that proir so it could have been the problem. Confusing the Keychain...?
Hi everyone, I also have this issue: iMac mid-2010, Intel core i7 - 2,93GHz - 1TB HDD - 256GB SSD - OS X Lion 10.7.2 bought on AppStore. First I "upgraded from Snow Leopard" and got the "unlock preference panes" problem. I tried everything I found here and on other forum and nothing worked.
So secondly I restarted from the EFI partition, format the SSD and clean installed Lion again. At the beginning everything were fine, but after a few hours, same problem. I have no more access to unlock any preference pane item. When I click on the lock icon, it asks for my password (I have a admin session) then I click OK and nothing happen, the lock still locked !!!
- - - - - - - - - - - - - -
Ok guys, I found something interesting !
As I can't log on any admin user account, I decided to use the root session. Here is how you can do:
If you didn't set up the root account before, 2 ways to do it :
- 1st way : http://support.apple.com/kb/HT1528?viewlocale=en_US
- 2nd way :
* Open Terminal (via spotlight or /Applications/Utilities/Terminal.app
* Type : "sudo passwd root"
* It will ask for your admin user password (your user account) -> "Password:"
* Then define the root password -> "New password:"
* Finally, confirm new password -> "Retype new password:"
You can test if everything went well by typing
- "su root" in the terminal windows
- It will ask for the root password, type the one you previously choose, and a bash command should start ! If so, you root password is set and you can quit the bash command via "exit".
When the root account is set, you can go back to your preference pane and set anything. When you'll click on the lock, replace the "Name" field automatically filled by "root" and type the root password in the password field. It should be fine, it worked for me.
Of course, this is a temporary solution to the preference pane problem, but for now, and after many hours of experimentations, it works !
Tell me if it works for you too !?