Wednesday, 16 September 2009

"Enter password for default keyring to unlock"

Every time I change my Ubuntu machine's password, I fall into this trap - when Ubuntu tries to get at the default keyring to access the key for my wireless network, it tries to use the NEW OS password to access the keyring, and throws up this error: -

Enter password for d
efault keyring to unlock

This occurs because the keyring has been locked with the old OS password.

The solution ?
















  1. Choose Applications -> Accessories -> Passwords and Encryption Keys ( or simply run the command seahorse )
  2. Navigate to the Passwords tab
  3. Select the Passwords: login link
  4. Click the right mouse button
  5. Choose Change Password
  6. Enter the OLD OS password
  7. Enter the NEW OS password - twice
  8. Click the Change button
  9. Close the Passwords and Encryption Keys applet

No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...