Ubuntu – How to stop being prompted to unlock the ‘default’ keyring on boot

keyringsseahorse

Whenever Ubuntu boots up, a dialogue pops up asking me to unlock my default keyring.

Is there some way this can unlock automatically through PAM or some other magical way?

enter image description here

Best Answer

  • Be warned that this will make your keyring accessible without a password. Period. You don't have to be logged in to view it

    With that being said,

    I think the simplest way is to set the password for the keyring to an empty password -- you will not be prompted for a password then:

    1. Open Applications -> Accessories -> Password and Encryption Keys
    2. Right-click on the "login" keyring
    3. Select "Change password"
    4. Enter your old password and leave the new password blank
    5. Press ok, read the security warning, think about it and if you still want to get rid of this dialog, choose "use unsafe storage".

    Again, as the message says: This will expose all your passwords (e.g. email passwords) that you chose to save in the default keyring to anyone using your computer or having access to your files and is therefore not recommended.

    Addendum for Ubuntu 11.04:

    • In the default Unity session, you can start the application by clicking on the Ubuntu logo in the top left corner, then typing Password, and selecting Password and Encryption Keys from the search result.

    • In the classic session the path to start the application has changed to System → Preferences → Password and Encryption Keys

    Addendum for Ubuntu 11.10:

    • In the default Unity session, you can start the application by clicking on the Ubuntu launcher (the first item) in the Unity launcher bar on the left side, then typing Password, and selecting Password and Encryption Keys from the search result.

    • In the classic session (from the gnome-session-fallback package) the path to start the application has again changed to Applications → Other → Password and Encryption Keys