Lost System Keychain Password Fix
A little while back, I rebooted my PowerBook, and when I logged back in I was greeted with a dialog saying “Mac OS X wants to use keychain system,” and asking for the password of said keychain.
The problem is I don’t know the password. And yet, it wasn’t much of a problem because not entering the password appeared to have no effect whatsoever. There were only two entries in my system keychain: the password for my wireless network and the password for a friend’s wireless network. That’s it. And even though I wasn’t providing the correct credentials to the system, the keychain was being unlocked and the password read.
So I didn’t worry about it too much. The next time I rebooted I just hit escape and carried on with my normal life. Then I decided to add a SuperDuper ‘Sandbox’ to my system. This necessitated making sure my backup drive was up-to-date and rebooting off the backup so that I could repartition the internal drive. Then copying the files back to the main drive, rebooting off the main drive and setting up the sandbox. Then doing it all over again because I hadn’t allocated enough space for the sandbox. The point is, I was rebooting a lot more than usual. And that keychain started to bug me. So I went looking for a fix.
I found Ani Moller’s description of the exact same problem, with a fix from the Mac Fix It Forums. I’ve now superfluously rebooted my PowerBook twice and all is well. (Note that this process will remove any passwords you had in the system keychain, if any.)
Start Terminal
sudo mv /Library/Keychains/System.keychain /Library/Keychains/System.keychain.backup
sudo systemkeychain -k /Library/Keychains/System.keychain -C "password"(where “password” is the new keychain password that you want to give to the System keychain)Reboot the system.
