Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't Unlock Preference Panes

I noticed that my monitor didn't go to sleep last night, I opened System Preferences, pulled up Energy Saver but I am unable to unlock that or any other preference pane... I click on the lock, it flashes, but no dialog window ever appears asking for my admin password.

Posted on Aug 8, 2011 2:50 PM

Reply
112 replies

Nov 10, 2011 6:31 AM in response to Dagwood

I wrestled with this as well, I work in a DoD research facility and use a CAC card (smart card) for some websites and other things. Since Lion dropped smart card support, I had to install the libraries from the OpenSC project

www.opensc-project.org/ .


Dagwood's post led me to try something I hadn't thought of before. I rebooted with my CAC removed, and was able to unlock all preference panes. As soon as I put my CAC in, the lock would not open. Not sure what the next steps are as far as a resolution, but for now that is the cause, at least on my end. Hope that helps someone.

Nov 11, 2011 2:57 AM in response to Sean L.

I've tried to find "~/Library/Preferences/com.apple.HIToolbox.plist", but I don't see it inside of the folder. Even tried to show hidden files and folders, and still didn't see it. Am I missing something?? Am suffering from the same issue described, but can't find this file to delete, reboot, and see if that helped.


Any suggestions out there??

Nov 11, 2011 4:32 AM in response to Sean L.

I did find the files and deleted them. I also found of lock files with the same file name like com.apple.HIToolbox.plist.lockfile. I also deleted similair files from /Library (I had to sudo to do that). Closed SysPref, deleted the files (HIToolbox, Syspref plist, syspref cache, lock files etc) and rebooted, still the same problem. I did plug in a card reader, but I never installed the software (because it doesn't go passed the "enter admin pass" dialog) and it's now disconnected.

Nov 11, 2011 3:32 PM in response to src105

I have a DOD CAC Card as well and am having the same problem. I reenabled CAC card by downloading CAC.tokend and CAC.ng.tokend and placing them in /System/Library/Security/tokend


Connecting CAC reader does not cause the problem. Placing CAC card in connected CAC reader causes problem (can't unlock preferences, clicking on the 'lock' icon does not bring up the authentication prompt). Logging out/logging back in does not clear the problem. Killing processes that appear when CAC card does not clear the problem. Repairing permissions did not clear the problem. Rebuilding the keychain does not clear the problem.


The only thing that clears the problem is rebooting. There are no errors or other messages generated in the console related to connecting CAC reader or inserting CAC Card. There are no messages or errors generated in the console when attempting to unlock preferences.

Nov 19, 2011 10:43 AM in response to Sean L.

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 !!!


Any news anyone ? Is Apple teams working on a patch or even know this problem ??


Please, help !!

Nov 19, 2011 4:39 PM in response to Sean L.

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 !?

Nov 20, 2011 12:39 PM in response to Mangeurdpommes

That's a great workaround. It's the only thing that works for me. Btw I don't use a CAC card.


It's strange that sudo works my user, so on a Unix level permissions seem to be ok. I can use root to unlock the preference pane, but the admin user cannot. It's only the GUI related security permissions that are not working. I have not a good understanding of those, should read up on it.

Can't Unlock Preference Panes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.