Ubuntu: How to recover/reset forgotten Gnome Keyring Password?
Channel: Roel Van de Paar
Date: 13/06/2019

Ubuntu: How to recover/reset forgotten Gnome Keyring Password?


Question: 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 https:/
/help.ubuntu.com/12.04/ubuntu-help/user-forgottenpassword.html, but it says
it's not possible if my home directory is encrypted and unfortunately my home
directory is encrypted.

Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):

== This solution helped 11 people ==
Solved this by installing seahorse frontend.

== This solution helped 143 people ==
Resetting everything (delete all passwords and start new keyring):
rm ~/.local/share/keyrings/login.keyring
Or
Navigate to Places ＞ Home. Press Ctrl + H to view "hidden files". Navigate to
.local ＞ share ＞ 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 ~/.local/share/keyrings/
      cp login.keyring login.keyring.backup
      and after that delete login.keyring file
      rm ~/.local/share/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 ~/.local/share/keyrings/
      mv login.keyring.backup login.keyring
----
Note: before Ubuntu 12.10 the path to the keyrings folder was ~/.gnome2/
keyrings/ instead of ~/.local/share/keyrings/.

With thanks & praise to God! With thanks to all the many who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music & music license: https://www.bensound.com/royalty-free-music | Images & images license: https://stocksnap.io/license and others | With thanks to user user3079671 (https://askubuntu.com/users/659515), user unpossible (https://askubuntu.com/users/16093), user rubo77 (https://askubuntu.com/users/34298), user Nitin Venkatesh (https://askubuntu.com/users/18887), user luk3yx (https://askubuntu.com/users/495653), user Bruno Pereira (https://askubuntu.com/users/25863), user bill (https://askubuntu.com/users/126487), and the Stack Exchange Network (http://stackoverflow.com/questions/65281). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.