can someone please post pam conf files

Okay so I was messing around with joining a domain and forgot to backup my existing conf files from /etc/pam.d/

Of course now i can’t login at all…woops

If someone can please post their defaults for opensuse 11.0/11.1 for the following conf files I would be indebted

common-account
common-auth
common-password
common-session

thanks

I’ll show you how to recover them from the package RPM.

cd /
rpm2cpio /path/to/pam-1.0.2-13.4.x86_64.rpm | cpio -idmv './etc/pam.d/common-*'

Substitute the path to your DVD for /path/to and i586 for x86_64 if necessary.

thanks heaps - that little command is great to know,
only problem is i can’t login…not through virtual consoles or graphical login. I found someone else who posted the defaults and so I booted off system rescue cd to copy the files back over the old ones and found that they are actually symlinks (that is common-auth) etc etc to the file common-auth-pc. Neway I tried that but it didn’t work either, not sure what else I screwed up but I just reinstalled, have a separate /home partition so it’s no biggy =)

You could also have booted up the rescue system on the SUSE DVD and reinstalled the stock pam package (after mounting the root partition). Something to remember for next time.

Hi

I am having the same problem… can you let me know how to restore pam from the install cd ?

thanks

npk