LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-14-2007, 01:38 PM   #1
rick.2g
Member
 
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
PAM config problems with upgrade to gusty


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.
 
Old 12-25-2007, 01:03 PM   #2
igi
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Hi,

I have exactly the same problem, were you able to find a solution?

Thanks,

I.
 
Old 12-26-2007, 01:20 PM   #3
rick.2g
Member
 
Registered: Sep 2005
Posts: 41

Original Poster
Rep: Reputation: 15
Nope... no solution yet. I will say this about gusty tho, the keyring was a bit buggy before - if I didn't enter the password quick enough after a hibernate, it wouldn't connect properly without restarting the networking daemons. Now, I can enter the keyring pass whenever. It's more stable, but I just can't get it to work automatically.
 
Old 12-26-2007, 01:41 PM   #4
igi
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
I actually solved this by following the thread, and replaced the gdm file with the gdm-dpkg distro file. After that a reboot, and checking the box on remembering the keyring password solved the problem. Turned out that during the upgrade, the gdm file that I had modified never got upgraded.


I also had lots of problems with hibernation, haven't even tried that under 7.10.

I.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade to Ubuntu Gusty - Wireless card no longer detected! ljs662_removed Ubuntu 1 10-04-2007 05:11 AM
Pam-auth issues after Samba/Winbind config buddyj57 Red Hat 1 09-26-2006 06:48 PM
pam config for ssh on suse linux bbhgi1o Linux - Networking 1 05-18-2006 11:32 PM
pam config balajee Linux - Software 1 05-25-2005 01:07 PM
PAM config for SAMBA Micah Linux - Networking 3 02-22-2004 02:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration