Friday, May 25, 2007

Avoid password ask for nm-applet

When you start Gnome, it asks you for your password to get the WEP key in the keyring. It is very annoying...

To avoid this behavior, the keyring password needs to be the same as the one you use to log on.

You will need to:


  1. Install libpam-keyring:
    sudo apt-get install libpam-keyring

  2. Set GDM to check password in pam for the logon password. In the file /etc/pam.d/gdm, add the lines:

    auth optional pam_keyring.so try_first_pass
    session optional pam_keyring.so
Restart your computer or more simply only gdm and it should not ask you for the password

No comments: