Fix for GNOME Keyring prompt on Autologin

Autologin in Ubuntu 9.10 would not default unlock your keyring for security I assume. If I am using autologin, chances are security isn’t high on the list and speed is…

sudo vi /etc/pam.d/gdm-autologin and add the italic lines below

#%PAM-1.0

auth    requisite       pam_nologin.so

auth    required        pam_env.so readenv=1

auth    required        pam_env.so readenv=1 envfile=/etc/default/locale

auth    required        pam_permit.so

auth    optional        pam_gnome_keyring.so

@include common-account

session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close

session required        pam_limits.so

session optional        pam_gnome_keyring.so auto_start

@include common-session

session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open

@include common-password

Updated: