Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am on Ubuntu and I have forgotten the password for my Gnome Keyring (yes, stupid me, I know). Any way I can get it back? I have already looked at this link, but it says it's not possible if my home directory is encrypted and unfortunately my home directory is encrypted.

share|improve this question
add comment

3 Answers

up vote 46 down vote accepted

Ubuntu 12.10

For Ubuntu 12.10 the path to the keyrings folder is ~/.local/share/keyrings/ instead of ~/.gnome2/keyrings/


Resetting everything (delete all passwords and start new keyring):

rm ~/.gnome2/keyrings/login.keyring

Or

Navigate to Places > Home. Press ctrl h to view "hidden files". Navigate to .gnome2 > keyrings and delete login.keyring

Using the same keyring (resetting keyring password but keeping old passwords in keyring):

1) Make a backup of the keyring

cd ~/.gnome2/keyrings/
cp login.keyring login.keyring.backup

and after that delete login.keyring file

rm ~/.gnome2/keyrings/login.keyring

2) Create a new keyring file from Gnome Keyring with the name "login"

3) Replace the new keyring file with the backup of the old keyring file

cd ~/.gnome2/keyrings/
mv login.keyring.backup login.keyring      
share|improve this answer
add comment
  1. Start up Ubuntu's Dash (top most icon in Unity)
  2. Type Pas, select 'Passwords and Keys'
  3. Next
    • If the password is known: Under Passwords the default folder select unlock, or
    • If the password is not known: right mouse click and delete for resetting.

Next time Ubuntu will ask for a new password for the keyring.

share|improve this answer
add comment

Solved this by installing seahorse frontend.

share|improve this answer
add comment

protected by Community Sep 5 '13 at 11:25

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.