Enter password to unlock your login keyring

Используя Ubuntu 14.04 Trusty tahr LTS, вдруг стало выскакивать окно «Unlock Login Keyring» с предложением «Enter password to unlock your login keyring». Это стало происходить после того, как я сменил пароль у своего системного пользователя. При этом прошлый пароль был наглухо забыт. Ввод нового пароля в данное диалоговое окно ни к чему не приводил, пароль запрашивался снова и снова.

Данная ситуация может воспроизводиться в двух случаях: когда для запароленного пользователя был включен автоматический вход в систему и когда для текущего пользователя был изменён пароль. Чтобы данное диалоговое окно больше нас не беспокоило и не отвлекало, нужно сделать пару нехитрых операций. Открываем seahorse («Password and Keys» в Dash).

В подразделе «Passwords» кликаем ПКМ по записи «Login» и удаляем её, согласившись с предупреждением о рисках.

Перелогиниваемся в системе, при этом в seahorse будет создана запись Login. Открываем любое приложение, использующее keyring, например, Chromium и послушно скармливаем новый пароль пользователя диалоговому окну «Choose password for new keyring».

Закрываем приложение Chromium, перелогинимся и снова запускаем seahorse.

ПКМ по записи «Default» и «Unlock», в окне «Enter password for keyring 'Default' to unlock» скармливаем наш новый пароль и обязательно активируем опцию «Automatically unlock this keyring whenever I'm loggin in».

Готово! Перезагружаем систему, после чего диалоговые окна появляться больше не будут.

A keyring is thought of as a local database that stores your login information in encrypted forms. Various desktop applications (e.g., browsers, email clients) use a keyring to store and manage your login credentials, secrets, passwords, certificates, or keys securely. For those applications to retrieve the information stored in a keyring, the keyring needs to be unlocked.

Читайте также:  Топ гир форд раптор на русском

GNOME keyring used by Ubuntu desktop is integrated with desktop login, and the keyring is automatically unlocked when you authenticate into your desktop. But your default keyring can remain "locked" if you set up automatic desktop login or wake up from hibernation. In this case, you will be prompted:

"Enter password for keyring 'Default keyring' to unlock. An application wants to access to the keyring 'Default keyring,' but it is locked."

Читайте также  Замена гофры выпускного коллектора

If you want to avoid typing a password to unlock your default keyring every time such a pop-up dialog appears, here is how you can do it.

Before doing that, understand the implication of disabling the password prompt. By automatically unlocking the default keyring, you will make your keyring (and any information stored in the keyring) accessible to anyone who uses your desktop, without them having to know your password.

Disable Password for Unlocking Default Keyring

Open up Dash, and type "password" to launch "Passwords and Keys" app.

Alternatively, use the seahorse command to launch the GUI from the command line.

'', 'clear' => '', 'margin_top' => '', 'margin_bottom' => '', 'padding_top' => '', 'padding_bottom' => ''), array (), array ()) —>

On the left side panel, right-click on the "Default keyring," and choose "Change Password."

Type your current login password.

Leave a new password for the "Default" keyring as blank.

Click on "Continue" button to confirm to store passwords unencrypted.

That's it. From now on, you won't be prompted to unlock the default keyring.

Subscribe to Ask Xmodulo

Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.

Читайте также:  Замена масла без снятия поддона

Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

I read through all the related answers, but they do not apply to Ubuntu 14.04.

I have no .gnome2 folder and no Passwords and Encryption keys item in the system settings. I tried to crawl through every possible menu, but I could not find out how to do it.

The popup usually pops out when I start Chromium.

7 Answers 7

Fire up "User Accounts", set "automatic login" to "off". At startup you will be asked your user/password only once; popups like "unlock keyring" will never pester you again.

This is for 14.04

  1. Open the password/keyring manager from settings (or run it directly — seahorse)
  2. Ensure Menu > View > By Keyring is ticked.
  3. In the sidebar, under 'passwords' create a new keyring 'Unprotected' (or re-use an existing keyring, e.g. 'Default', but NOT 'Login' because that will make everything unprotected which you probably don't want)
  4. Right-click the new keyring, and 'set as default'
  5. Right-click the new keyring and set its password as empty (only needed if you adopted an existing keyring)
  6. In the 'Login' keyring, delete the network secret for your wifi.
  7. Go to the network manager and add the network again — its secret should appear in the default keyring, which has no password.
  8. Set the default keyring back to Login.
Читайте также  Tiny Troopers - Взлом на Деньги, Медали

Instructing Chrome to avoid the keyring

This problem occurs because Chrome wants to store usernames/passwords in the keyring (so they are encrypted). Therefore, every time you open Chrome, it tries to unlock the keyring.

Читайте также:  Сколько стоит перерегистрации автомобиля в гибдд

You may instruct Chrome to do not use the keyring. If you do that, Chrome will not try to unlock the keyring again.

To run Chrome without using the keyring, you may use the option —password-store=basic :

Modifying the Chrome launcher (icon) to avoid the keyring

Considering that you usually run Chrome doing a doble-click on an icon, you must change the command for the icons you use to include the additional option to run chrome in this way all the time. You may edit (1) the global launcher in the /usr/share/applications/google-chrome.desktop folder or (2) the personal launcher file located in the

Edit the launcher file. For instance, using gedit

Modify the Exec= line to include the —password-store=basic option

Источник: autobryansk.info

СТО Тех-ервис