Why am I asked for a keyring password when logging into a Linux system?

The keyring can be used to securely store passwords to various services within your Linux account. Unfortunately for many people, their keyring password is set to some previous Bucknell password that they no longer know. If you don’t know your keyring password, your only option is to delete your keyring and recreate it.

  1. Login to your Linux account
  2. Open a terminal window (Applications -> System Tools -> MATE Terminal) and run:
    rm -f ~/.gnome2/keyrings/login.keyring ~/.local/share/keyrings/login.keyring
  3. Logoff and back on again (in a graphical session, not via ssh) and your keyring password should now be set to your login password.

Be aware that the next time you change your login password, it will be then be different from your keyring password so you’ll have this issue again. However, if you know your keyring password, you can change it by doing the following:

  1. Login to a graphical session on a Linux system
  2. In the desktop menu, go to Applications -> Accessories -> Passwords and Keys
  3. Right click Login under Passwords and select Change Password
  4. Follow the prompts to change your keyring password to the desired value. If you set it to the same value as your login password, you will not be prompted for it when you login.


Article ID: 275
Fri 1/31/20 2:52 PM
Mon 3/2/20 2:20 PM