1. Introduction
If we didn't disable keyring password prompting on our Linux system, we'll often be asked to enter a password to unlock the login keyring. A prompt will look something like this:
Sometimes it could happen that we're not able to unlock our login keyring for any reason. One of them could be that we just forgot that password and that we want to reset it.
2. Reset Password that Unlocks Login Keyring
The easiest way to reset this password on Linux is to delete the current keyring and be prompted for a new password as a consequence. The file containing keyring data could be found in /home/yourUsername/.local/share/keyrings folder. We want to delete the login.keyring file. To delete this file you can use the following commands:
cd /home/yourUsername/.local/share/keyrings
rm login.keyring
When this file is removed, in the first next situation where you're usually prompted for a keyring password, you'll be actually asked to enter a new password.
After that, you can use your new password.
3. Conclusion
In this short tutorial, we explained how to reset the password that would unlock your login keyring.