I just upgraded my fiesty fawn laptop to gusty gibbon (7.10) this morning - mostly without problem. However...
In order to connect to my wireless networks, the pam module uses a keyring to save the wep and wpa keys. So, by default in fiesty, I would be asked for my keyring password after every login to connect to my wireless connections. I found a workaround in fiesty fawn to get the keyring to load automatically without my re-entering my password every time I connected to a wireless network., and all was well.
Then, during my upgrade to GG, I was prompted whether or not to keep my customized pam keyring configuration files, or replace them with the new ubuntu default. I (perhaps stupidly) elected to keep my old config files. Unlike FF, GG does the pam-keyring autologin by default. Thus the problems began...
I have found a few sites directing me to add "@include common-pamkeyring" to my /etc/pam.d/gdm file - I've done this and it hasn't fixed the problem. The file "common-pamkeyring" exists and seems correct . I suspect I have a configuration somewhere else in my pam.d directory which is interfering, but I don't know where.
To summarize:
1. Auto-connect was working fine with customized FF settings.
2. I failed to get the GG pam config when I upgraded, and still have the old FF config files.
3. I can connect, but only with the second password entry.
4. Uninstalling and reinstalling pam doesn't work - already tried it, and I'm pretty sure it's a config problem - the binaries are fine.
5. There's no way in hell I'm reinstalling the whole thing again, so please don't suggest it.
What I need:
1. Anyone who can point me to a default /etc/pam.d directory for gusty gibbon would pretty much solve all my problems. The Linux PAM site doesn't seem to have any config files, and I can't find any on the ubuntu site without downloading the entire install CD.
2. Here are my pam config files from fiesty - if anyone can compare them against a default GG install and report any differences, it would probably point me in the right direction:
here's my pam.d directory listing:
atd common-pamkeyring gdm other su
chfn common-password gdm-autologin passwd sudo
chsh common-session gdm.dpkg-dist ppp
common-account cron gnome-screensaver samba
common-auth cupsys login ssh
...and here's the gdm files and all the files it references.
(I removed comments for space savings)
gdm:
#%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
@include common-auth
@include common-account
session required pam_limits.so
@include common-session
@include common-password
@include common-pamkeyring
common-auth:
auth required pam_unix.so nullok_secure
common-account:
account required pam_unix.so
common-session:
session required pam_unix.so
session optional pam_foreground.so
common-password:
password required pam_unix.so nullok obscure min=4 max=8 md5
common-pamkeyring:
auth optional pam_keyring.so try_first_pass
session optional pam_keyring.so
Thanks in advance for any help.