Hey this was happened in past with me also...<br><br>You can use your installation CDs to tackle with this problem.<br><br>You have to enter into  resque mode and copy pam.d files from that mode<br><br>For resque mode refer following website
<br><a href="https://listman.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-rescuemode-boot.html">https://listman.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-rescuemode-boot.html</a><br> <br>
OR <br>easiest way is copy/create pam configure files from other same system and install PAM <a href="http://0.99.9.0">0.99.9.0</a>, but prefer  by solving this problem using resque mode<br><br>After that take a backup of your /etc/pam.d and install pam by disabling selinux option. Make all possible configuration checks <. ./configure --help>
<br><br><br><div class="gmail_quote">On Nov 21, 2007 11:39 AM, QiuChu <<a href="mailto:qiu.chu@hotmail.com">qiu.chu@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div><div style="text-align: left;">

<p><span style="color: rgb(31, 73, 125);">I
have install PAM <a href="http://0.99.9.0" target="_blank">0.99.9.0</a> on my system, and I have run these commands on the
directory unzip from install package.</span></p>

<p><span style="color: rgb(31, 73, 125);"> </span></p>

<p><span style="color: rgb(31, 73, 125);">shell>configure
--enable-static-libpam</span></p>

<p><span style="color: rgb(31, 73, 125);">shell>make
install</span></p>

<p><span style="color: rgb(31, 73, 125);"> </span></p>

<p><span style="color: rgb(31, 73, 125);">A
terrible error happened, the message is:</span></p>

<p><span style="color: rgb(31, 73, 125);"> </span></p>

<p><b><span style="color: rgb(31, 73, 125);">Making all in pam_selinux</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">make[3]: Entering directory
`/root/Linux-PAM-0.99.9.0/modules/pam_selinux'</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">/bin/sh ../../libtool --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../..    -I../../libpam/include
-I../../libpamc/include -I../../libpam_misc/include -g -O2 -W -Wall
-Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes
-Wwrite-strings -Winline -Wshadow -MT pam_selinux.lo -MD -MP -MF
deps/pam_selinux.Tpo -c -o pam_selinux.lo pam_selinux.c</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);"> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libpam/include
-I../../libpamc/include -I../../libpam_misc/include -g -O2 -W -Wall
-Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes
-Wwrite-strings -Winline -Wshadow -MT pam_selinux.lo -MD -MP -MF
deps/pam_selinux.Tpo -c pam_selinux.c  -fPIC -DPIC -o .libs/pam_selinux.o</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">pam_selinux.c: In function `mls_range_allowed':</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">pam_selinux.c:225: error: `CONTEXT__CONTAINS' undeclared (first
use in this function)</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">pam_selinux.c:225: error: (Each undeclared identifier is
reported only once</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">pam_selinux.c:225: error: for each function it appears in.)</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">pam_selinux.c:232: error: `SECCLASS_CONTEXT' undeclared (first
use in this function)</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">pam_selinux.c: In function `pam_sm_open_session':</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">pam_selinux.c:497: warning: implicit declaration of function
`getseuserbyname'</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">pam_selinux.c:498: warning: implicit declaration of function
`get_ordered_context_list_with_level'</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">make[3]: *** [pam_selinux.lo] Error 1</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">make[3]: Leaving directory
`/root/Linux-PAM-0.99.9.0/modules/pam_selinux'</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">make[2]: *** [all-recursive] Error 1</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">make[2]: Leaving directory `/root/Linux-PAM-0.99.9.0/modules'</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">make[1]: *** [all-recursive] Error 1</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">make[1]: Leaving directory `/root/Linux-PAM-0.99.9.0'</span></b></p>

<p><b><span style="color: rgb(31, 73, 125);">make: *** [all] Error 2 </span></b></p>

<p><b><span style="color: rgb(31, 73, 125);"> </span></b></p>

<p><span style="color: rgb(31, 73, 125);">I
found that some files /lib64/security is updated. And no file in /etc/pam.d and
/etc</span></p>

<p><span style="color: rgb(31, 73, 125);">Now
 I cannot login my system on the monitor or SSH client. </span></p>

<p><span style="color: rgb(31, 73, 125);">Only
by what I can access the system is the SSH windows  which is opened before
I install the PAM <a href="http://0.99.9.0" target="_blank">0.99.9.0</a></span></p>

<p><span style="color: rgb(31, 73, 125);">I
thought the PAM is wrong.</span></p>

<p><span style="color: rgb(31, 73, 125);">Why
this  happened? And How can I undo it.</span></p>

<p><span style="color: rgb(31, 73, 125);"> </span></p>

<p><span style="color: rgb(31, 73, 125);">Thank
you very much!</span></p>

<p><span style="color: rgb(31, 73, 125);"> </span></p>

<p><span style="color: rgb(31, 73, 125);">Chu
Qiu</span></p>

</div><br><hr>用 Windows Live Spaces 展示个性自我,与好友分享生活!  <a href="http://spaces.live.com/?page=HP" target="_blank">了解更多信息!</a></div>
<br>_______________________________________________<br>Pam-list mailing list<br><a href="mailto:Pam-list@redhat.com">Pam-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/pam-list" target="_blank">https://www.redhat.com/mailman/listinfo/pam-list
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Rakesh P. Zingade<br>+919420357790