Tell me more ×
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

3 Answers

up vote 27 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

Start up Ubuntu's Dash (top most icon in Unity) Type Pas, select 'Passwords and Keys' Under Passwords the default folder, unlock when password known, otherwise right mouse click and delete for resetting. Next time Ubuntu will ask for a new password for the keyring.

share|improve this answer

Solved this by installing seahorse frontend.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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