ankush narula

Reset Your Mac OS X System Keychain

Posted in apple, security, Uncategorized by ankushnarula on 2007/09/04

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:
 sudo systemkeychain -vfcC
This will create a new, blank system keychain.

The options are documented here.

Once you have recreated the keychain, you can test if it unlocks properly with:
 systemkeychain -vt
The options used above are:
-v = verbose
-f = force
-c = create if needed
-C = setup system
-t = test unlock
About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: