Ubuntu Jaunty: How to Change Gnome Keyring Password

After I’d changed the password of my user account on my laptop’s Ubuntu install, Evolution kept on bothering me asking the password to unlock the keyring:

Gnome Unlock Keyring Dialog

To unlock it, it required me to input my old password. Funny enough, if you change your user password, Ubuntu doesn’t change the keyring master password. After Googling around a bit, there are several blog and forum posts that point to ways of changing the keyring’s master password using seahorse, for example this one. However, all information and screenshots I found seem to be outdated; I was unable to find the “Gnome Keyring” tab everyone is talking about. After playing around with my version of seahorse, I was able to find out where this option has been moved. I don’t know in which version of seahorse this has changed, but what I do know is that that version of seahorse with its new password change interface is included in Jaunty Jackalope.

So for those of you who are reading this to figure out how to change your keyring password with Ubuntu 9.04, here goes: open seahorse via “Applications -> Accessories -> Passwords and Encryption Keys.” Click on the “Passwords” tab, and now you need the secret trick: right-click on the “Passwords: login” item and choose “Change Password“:

Seahorse Passwords and Encryption Keys Interface

If you change the password for the login passwords set to the same password as your user account, Gnome will automatically unlock your keyring during login. Yay!

46 Comments

  • 1
    Carioca
    July 20, 2009 - 9:22 pm | Permalink

    Thanks a lot for the tip!
    It worked beautifully. :)

    • 2
      kevin
      January 24, 2012 - 1:34 pm | Permalink

      Hear s the command you guys are looking for

      ——————————————————————————————————————————
      ——————————————————————————————————————————

      rm -rf ~/.gnome2/keyrings/

      ——————————————————————————————————————————
      ——————————————————————————————————————————

      type your password after the command bingo ! done !

      KeV!N

      • 3
        January 24, 2012 - 2:46 pm | Permalink

        That indeed works fine, unless you have other passwords stored in your keyring. If you have, you wipe them too and have to re-enter them at some point as well. I would rather do it The Right Way(tm) just to be sure.

  • 4
    Rune Svendsen
    July 27, 2009 - 11:46 am | Permalink

    Thanks a lot! Works perfectly.

  • 5
    Henry
    August 11, 2009 - 8:16 pm | Permalink

    Brilliant! Thank you very much.

  • 6
    Adam
    August 11, 2009 - 11:11 pm | Permalink

    THANK YOU SO MUCH!!!!!!!

    I have looked for this solution forever now!

  • 7
    Dave
    August 12, 2009 - 7:09 am | Permalink

    Great!!!
    Tnx

  • 8
    Martin
    August 21, 2009 - 9:14 am | Permalink

    Wow, never would have figured that out myself. Thank you so much!

  • 9
    Ludo
    August 26, 2009 - 7:35 pm | Permalink

    apparently it doesn’t work when you use automatic login

    • 10
      September 28, 2009 - 9:58 am | Permalink

      It should. Probably you have used the wrong password. PAM will use the same password to unlock your keyring as it uses for your user account to automatically login.

  • 11
    Yannis
    August 30, 2009 - 7:21 pm | Permalink

    Thanks a lot for the tip saved me from a really annoying procedure.

  • 12
    jac
    September 1, 2009 - 12:14 pm | Permalink

    Great! Thanks

  • 13
    You Rock!
    September 10, 2009 - 1:23 pm | Permalink

    YES!!! THANKS!!! THIS WORKED PERFECTLY!

  • 14
    asani
    September 28, 2009 - 9:51 am | Permalink

    how about old password??? what should i type on there

    • 15
      September 28, 2009 - 9:56 am | Permalink

      The user password you had before you changed your password, leading to problems unlocking the Gnome keyring. If you’ve changed your password multiple times already, you probably need to use the very first password you used when you created the user account.

  • 16
    Parsec
    October 10, 2009 - 3:41 pm | Permalink

    SUPER!!! Indeed I’ve been stumbling upon old versions of how to do this. Finally a solution! Thanks!

  • 17
    Haribansh
    October 12, 2009 - 3:30 pm | Permalink

    Thank you I’ve found the perfect solution so far

  • 18
    Hanno
    November 7, 2009 - 1:06 am | Permalink

    It doesn’t change the password…
    I tried with the initial password, the user-login password, the actual keyring password; the key actually unlocks with the actual keyring password, it never gives an error message but it never ACTUALLY CHANGES the keyring password; it just won’t change…
    Help..?

  • 19
    Barnes
    January 10, 2010 - 12:13 am | Permalink

    Just putted it to my private tips. Thanks.

  • 20
    robert leleu
    February 2, 2010 - 10:13 pm | Permalink

    Hurrah, I killed the keyring!
    In my windows for password there was 2 chapters.
    One is for wifi wep

    the other was for the keyring. This keyring bothered me by rexuesting its password before to allow wifi to connect…I just selected it, and: Edition Edition>Supprimer

    Now my Ubuntu starts without any password, and readily connect the mailer.

    And if you just want to change the password of the keyring, you could kill it, and the File>New…..

  • 21
    amksep
    April 15, 2010 - 11:20 am | Permalink

    Just wanted to say thx.. You saved me a lot of troubles.

    But I blame seahorse and also gnome keyring developers for not making intuitive interface for changing passwords …hope they fix that soon

  • 22
    kslays
    April 24, 2010 - 3:38 pm | Permalink

    Wow, thanks, I’ve been looking all over for this and couldn’t find it on the Ubuntu website. This really should be fixed so that when you change the login password it changes your keyring, or at least tells you how!

  • 23
    moses
    April 26, 2010 - 12:32 pm | Permalink

    This really good. You save my day. I spent hours last night, but this is the main solution for my email and wireless connection problems. Keep the work hard.

  • 24
    Ricky
    May 12, 2010 - 6:48 am | Permalink

    Just wanted to say thx……….

  • 25
    pelfking
    May 21, 2010 - 6:13 pm | Permalink

    Excellent article. Thanks for the tip.

  • 26
    June 11, 2010 - 8:31 pm | Permalink

    Seems as if this is finally integrated in 10.04! :-)

    • 27
      June 13, 2010 - 11:48 am | Permalink

      That would be really nice. I haven’t tried myself yet. I did upgrade to 10.04 last week, and I did get my company’s half-yearly password-will-expire-soon email, so I’m about to find out. I’ll post my findings.

  • 28
    Neil
    June 29, 2010 - 8:17 am | Permalink

    Wow… this is a REALLY BAD UI design. Who would have figured this out? It’s a folder, for crying out loud. Very un-intuitive.

  • 29
    kamal079
    July 29, 2010 - 1:44 am | Permalink

    That worked beautifully!!.. thanks so much.

  • 30
    mcmile
    August 11, 2010 - 2:11 am | Permalink

    Thanks a bunch. This has been bugging me for a week or so.

  • 31
    eeshan
    September 6, 2010 - 6:31 pm | Permalink

    thanks!!

  • 32
    Spikelander
    September 17, 2010 - 3:16 pm | Permalink

    Great … it worked out!

  • 33
    K
    September 19, 2010 - 11:54 pm | Permalink

    PERFECT THANK YOU!

  • 34
    Andreas
    September 24, 2010 - 7:08 pm | Permalink

    Thanks you very much. !!!

  • 35
    Andras
    February 16, 2011 - 1:13 pm | Permalink

    On Ubuntu 10.10 it is under System > Preferences

  • 36
    Alfred
    February 22, 2011 - 11:09 pm | Permalink

    Dear Ubuntu and/or Gnome,
    The ability to change the keyring pw is HIDDEN. I just installed ubuntu 10.10 and decided to change the password, then after reboot I get a message to enter my OLD password to unlock the keyring! Then I have to google around to find out how to change the keyring password?? What did you expect users to do if they changed their password? Enter TWO passwords every time they logged in?

    Simple fix 1: Make ‘master keyring password’ show up as an entry in Seahorse. Or better yet,
    simple fix 2: when changing login pw, ask if user wants to change keyring pw too. Or, if these are too challenging,
    simple fix 3: copy&paste this post into your help system and put a link to it in the “enter keyring pw” dialogue.

    I used to like ubuntu, but this is one of five bugs I’ve had to deal with within 48 hr of installing Maverick.

    • 37
      February 23, 2011 - 9:07 am | Permalink

      Dear Alfred,

      I agree with you that this seahorse master password thing is a bit funny, however, this is the wrong place to complain… Maybe you should file your complaints at the Ubuntu community. For more information see:

      https://help.ubuntu.com/community/ReportingBugs

  • 38
    Bart
    March 2, 2011 - 8:34 am | Permalink

    right-click – I missed that before reading about it on your site, thanks a lot !!

  • 39
    Michiel
    April 11, 2011 - 11:13 am | Permalink

    In Ubuntu 10.10 gnome one should follow “System -> Preferences -> Passwords and (Encryption) Keys.” I am not sure about the word Encryption, since it is missing in my language.

  • 40
    August 12, 2011 - 12:45 pm | Permalink

    I have the same password on both the keyring and my login, however it always has asked for the keyring password, or at least since I used this machine to demonstrate # passwd user.
    I have followed your lead here, and I guess I just have to reboot and see if replacing password A with password A will actually solve the issue. It took the password update without comment, so I have high hopes it will work.

    • 41
      August 12, 2011 - 12:49 pm | Permalink

      Didn’t work. Maybe I have to change my keyring password to something else, and then change it back again.

  • 42
    Marcelo Correa
    August 28, 2011 - 5:51 pm | Permalink

    Thanks alot, Iit worked fine on Lucid .

  • 43
    Dan
    November 24, 2011 - 5:00 am | Permalink

    Esta bueno. Muchos tacos!

  • 44
    philoptik
    December 1, 2011 - 11:47 pm | Permalink

    Thanks a lot for this excellent and short guide!

  • 45
    Dwight
    December 26, 2011 - 2:12 pm | Permalink

    This Problem exists on 10.10. Thanks for the tip

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>