After deleting the default user account and recreating it in OS X, I tried to access the System keychain and kept receiving this error message:
After some digging around, I found this very useful little snippet about unlocking the System Keychain on the Apple Discussion Forums:
You can’t unlock the system.keychain – the password is known only to the system. If you need to remove items from it, open Terminal and type:This will create a new, blank system keychain.sudo systemkeychain -vfcC
The options are documented here.
Once you have recreated the keychain, you can test if it unlocks properly with:The options used above are: -v = verbose -f = force -c = create if needed -C = setup system -t = test unlocksystemkeychain -vt