36

keyring password prompt

(In my case this message never appeared before installing Ubuntu One - see this question). Can I use Ubuntu One and avoid being prompted each time like this? I use Lubuntu 12.04.

Edit: After exchanging comments I add the supplementary info:

  1. I am asked for password and to select session if I log out and in (auto-login is NOT set).
  2. Ubuntu One is installed but set NOT to start with session.
  3. Keyring appears nonetheless.
  4. Before installing Ubuntu One this didn't happen.

Also, following the advice of con-f-use, I have entered ps -A | grep -i [u]buntu in terminal, and got 2346 ? 00:00:01 ubuntuone-syncd, which means that ubuntuone is running when it was not supposed to.

3 Answers3

35

The keyring can store passwords and encryption keys for you. They are protected with your login password and stored safely via encryption. It's like putting all your keys in a safe that just has one key. Every time you use an application (like e.g. Ubuntu One) for which you have stored a password for in the key ring, the key ring enters it for you. Beside the comfort factor that helps to counteract key-loggers and the like, as they need physical access to your key-ring data and your account password.

Normally, if you don't have auto-login activated, the keyring is unlocked, when you login to L/Uubuntu using your account's regular password. Since you seem to have enabled auto-login on start-up (just a guess), the keyring has to be unlocked manually with your accounts password (once on first use for each session) .

What you can try:

Auto unlock option

Usually there is an option to "Automatically unlock this keyring when I log in":

key ring auto unlock

Unset keyring password

For obvious reasons this is very insecure. If no one but you has physical access to your computer this could be the way to go.

In Lubuntu you might not have already installed "Passwords and Keys" (seahorse). To install:

sudo apt-get install seahorse

or https://apps.ubuntu.com/cat/applications/seahorse/

  1. Open the "Passwords and Keys" (in Menu/Preferences, or Alt-F2: seahorse)
  2. On the appropriate folder corresponding to your user account click right
  3. In the popup menu click "Change Passwords"
  4. In the resulting dialogue enter your old account password and leave the new password blank

Sudoers file

You can try to edit your /etc/sudoers file like this:

  1. Run sudo VISUAL=/usr/bin/gedit visudo

  2. At the bottom of this file add the line

    cipricus ALL=(ALL) NOPASSWD: /usr/bin/ubuntuone
    

    Assuming "cipricus" is your account's username under Lubuntu.

  3. Make sure everything is correct, close geidt, then run Run sudo -K to update your sudoers session.

Biggybi
  • 605
  • 4
  • 12
con-f-use
  • 19,041
4

For "What is Keyring" and how do you generally get rid of the Dialog, you can read con-f-use's answer.

Ubuntu One specific

I have uninstalled Ubuntu One in Lubuntu Software Center and rebooted. After that ps -A | grep -i [u]buntuone would show that Ubuntu One is still running. Checking the Synaptic Manager, a lot of the related packages were still there. After uninstalling all of them and after logout/login finally no keyring popped up.

0

Try logging into Ubuntu one and un-tick box that says start at login. It worked for me :)

Seth
  • 59,332
Telfer
  • 1